fromIsar static method

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

Deserializes the object.

Implementation

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

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