fromIsar static method

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

Deserializes the object.

Implementation

static Map<String, Map<int, String>> fromIsar(String object) {
  Map<String, dynamic> map = jsonDecode(object);

  return map.map(
    (k, e) => MapEntry(
      k,
      (e as Map<String, dynamic>).map(
        (k, e) => MapEntry(int.parse(k), e as String),
      ),
    ),
  );
}