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