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