toIsar static method

String toIsar(
  1. Map<String, Map<int, String>> object
)

Serializes the object.

Implementation

static String toIsar(Map<String, Map<int, String>> object) {
  Map<String, dynamic> map = object
      .map((k, e) => MapEntry(k, e.map((k, e) => MapEntry(k.toString(), e))));
  return jsonEncode(map);
}