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