GoogleCloudDataplexV1ListLakesResponse.fromJson constructor

GoogleCloudDataplexV1ListLakesResponse.fromJson(
  1. Map json_
)

Implementation

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