ListLocationsResponse.fromJson constructor
Implementation
factory ListLocationsResponse.fromJson(Map<String, dynamic> json) {
return ListLocationsResponse(
locations: (json['Locations'] as List?)
?.whereNotNull()
.map((e) => LocationListEntry.fromJson(e as Map<String, dynamic>))
.toList(),
nextToken: json['NextToken'] as String?,
);
}