GoogleCloudKmsInventoryV1SearchProtectedResourcesResponse.fromJson constructor

GoogleCloudKmsInventoryV1SearchProtectedResourcesResponse.fromJson(
  1. Map json_
)

Implementation

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