ListSpaceEventsResponse.fromJson constructor
ListSpaceEventsResponse.fromJson(
- Map json_
Implementation
ListSpaceEventsResponse.fromJson(core.Map json_)
: this(
nextPageToken: json_.containsKey('nextPageToken')
? json_['nextPageToken'] as core.String
: null,
spaceEvents: json_.containsKey('spaceEvents')
? (json_['spaceEvents'] as core.List)
.map((value) => SpaceEvent.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);