ListScannedResourcesResponse.fromJson constructor

ListScannedResourcesResponse.fromJson(
  1. Map json_
)

Implementation

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