map<K2, V2> method
Returns a new map where all entries of this map are transformed by
the given convert function.
Implementation
@override
Map<K2, V2> map<K2, V2>(
MapEntry<K2, V2> Function(String key, T value) convert,
) {
return inner.map(
(key, value) => MapEntry(
convert(key, value.prop).key,
convert(key, value.prop).value,
),
);
}