fromJSON static method
Implementation
static EmbeddedTimeTable fromJSON(Map<String, dynamic> data) {
return EmbeddedTimeTable(
id: (data["id"] as String),
codes: (data["codes"] as List<dynamic>).map((x0) => CodeStub.fromJSON(x0) ).toSet(),
medicalLocationId: (data["medicalLocationId"] as String?),
endOfLife: (data["endOfLife"] as int?),
name: (data["name"] as String?),
startTime: (data["startTime"] as int?),
endTime: (data["endTime"] as int?),
items: (data["items"] as List<dynamic>).map((x0) => TimeTableItem.fromJSON(x0) ).toList(),
);
}