mapAccumulator function Null safety

Accumulator mapAccumulator(
  1. Map<String, dynamic> result
)

Implementation

Accumulator mapAccumulator(
  Map<String, dynamic> result,
) =>
    (k, v) {
      // if (kDebugMode) print('mapAccumulator :: $k :: $v');
      v is Map<String, dynamic> ? result.addAll(v) : result[k] = v;
    };