encodeMap<T> static method

Map<T, dynamic> encodeMap<T>(
  1. Map<T, dynamic> data
)

Implementation

static Map<T, dynamic> encodeMap<T>(Map<T, dynamic> data) {
  // if (!shouldTransfrom(data)) return data;
  return data.map((key, value) => MapEntry(key, encode(value)));
}