GoogleCloudLocationListLocationsResponse.fromJson constructor

GoogleCloudLocationListLocationsResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudLocationListLocationsResponse.fromJson(core.Map json_)
    : this(
        locations: json_.containsKey('locations')
            ? (json_['locations'] as core.List)
                .map((value) => GoogleCloudLocationLocation.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
      );