DayPart.fromJson constructor
DayPart.fromJson(
- Map json_
Implementation
DayPart.fromJson(core.Map json_)
: this(
dayOfWeek: json_.containsKey('dayOfWeek')
? json_['dayOfWeek'] as core.String
: null,
endTime: json_.containsKey('endTime')
? TimeOfDay.fromJson(
json_['endTime'] as core.Map<core.String, core.dynamic>)
: null,
startTime: json_.containsKey('startTime')
? TimeOfDay.fromJson(
json_['startTime'] as core.Map<core.String, core.dynamic>)
: null,
);