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