FreeBusyRequest.fromJson constructor
FreeBusyRequest.fromJson(
- Map json_
Implementation
FreeBusyRequest.fromJson(core.Map json_)
: this(
calendarExpansionMax: json_.containsKey('calendarExpansionMax')
? json_['calendarExpansionMax'] as core.int
: null,
groupExpansionMax: json_.containsKey('groupExpansionMax')
? json_['groupExpansionMax'] as core.int
: null,
items: json_.containsKey('items')
? (json_['items'] as core.List)
.map((value) => FreeBusyRequestItem.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
timeMax: json_.containsKey('timeMax')
? core.DateTime.parse(json_['timeMax'] as core.String)
: null,
timeMin: json_.containsKey('timeMin')
? core.DateTime.parse(json_['timeMin'] as core.String)
: null,
timeZone: json_.containsKey('timeZone')
? json_['timeZone'] as core.String
: null,
);