I'm trying to trigger an update when a `list` in my `map` changes. Type is `Map<String, List<int>>`. Basically one of the integers is changing in the list but not triggering the blocbuilder. Although when I print the state the value is updated. I'm using freezed. From what I understand freezed only provides deep copies for nested @freezed objects but not for Iterables. I've seen a few solutions for this kind of problem. For example create a new Map with `Map.from` and emit that map. But that doesn't trigger a rebuild. Any suggestions!

My `freezed` state is

```
onst factory RiskAttitudeState.loaded({
    required int customerId,
    required RiskAttitudeQuestionsInfo riskAttitude,
    required Map<String, List<int>> answerIds,
    @Default(FormzStatus.pure) FormzStatus status,
    int? finalRisk,
  }) = RiskAttitudeLoaded;

```

And I'm updating an integer in the list type `List<int>` in the map `answerIds`

Here is the `bloc`
Future \_mapAnswerToState(

```
      String id, List<int> answerIds, Emitter<RiskAttitudeState> emit) async {

    await state.maybeMap(
      loaded: (RiskAttitudeLoaded loaded) async {
        if (loaded.answerIds.containsKey(id)) {
          loaded.answerIds.update(
            id,
            (_) => answerIds,
            ifAbsent: () {
              add(RiskAttitudeEvent.error(Exception('unknown Question ID: $id')));
              return answerIds;
            },
          );
        }

        emit(loaded.copyWith(answerIds: loaded.answerIds));
      },
      orElse: () async {},
    );
  }

```

For contest if I pass an empty map like this `emit(loaded.copyWith(answerIds:{}));`

the builder gets triggered.