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