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