EventPeriodUpdate.fromJson constructor
EventPeriodUpdate.fromJson(
- Map json_
Implementation
EventPeriodUpdate.fromJson(core.Map json_)
: this(
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
timePeriod: json_.containsKey('timePeriod')
? EventPeriodRange.fromJson(
json_['timePeriod'] as core.Map<core.String, core.dynamic>)
: null,
updates: json_.containsKey('updates')
? (json_['updates'] as core.List)
.map((value) => EventUpdateRequest.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);