mapListFromJson static method
Implementation
static Map<String, List<AccountSummaryModel>> mapListFromJson(dynamic json) {
final map = <String, List<AccountSummaryModel>>{};
if (json is Map && json.isNotEmpty) {
json.cast<String, dynamic>().forEach((key, dynamic value) {
map[key] = AccountSummaryModel.listFromJson(value);
});
}
return map;
}