GoogleCloudDatacatalogV1beta1SearchCatalogResponse.fromJson constructor

GoogleCloudDatacatalogV1beta1SearchCatalogResponse.fromJson(
  1. Map _json
)

Implementation

GoogleCloudDatacatalogV1beta1SearchCatalogResponse.fromJson(core.Map _json)
    : this(
        nextPageToken: _json.containsKey('nextPageToken')
            ? _json['nextPageToken'] as core.String
            : null,
        results: _json.containsKey('results')
            ? (_json['results'] as core.List)
                .map<GoogleCloudDatacatalogV1beta1SearchCatalogResult>(
                    (value) =>
                        GoogleCloudDatacatalogV1beta1SearchCatalogResult
                            .fromJson(
                                value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        unreachable: _json.containsKey('unreachable')
            ? (_json['unreachable'] as core.List)
                .map<core.String>((value) => value as core.String)
                .toList()
            : null,
      );