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