FreeBusyCalendar.fromJson constructor
FreeBusyCalendar.fromJson(
- Map json_
Implementation
FreeBusyCalendar.fromJson(core.Map json_)
: this(
busy: json_.containsKey('busy')
? (json_['busy'] as core.List)
.map((value) => TimePeriod.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
errors: json_.containsKey('errors')
? (json_['errors'] as core.List)
.map((value) => Error.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);