WeeklySchedule.fromJson constructor
WeeklySchedule.fromJson(
- Map json_
Implementation
WeeklySchedule.fromJson(core.Map json_)
: this(
daysOfWeek: json_.containsKey('daysOfWeek')
? (json_['daysOfWeek'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
startTimes: json_.containsKey('startTimes')
? (json_['startTimes'] as core.List)
.map((value) => GoogleTypeTimeOfDay.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);