ListPatchDeploymentsResponse.fromJson constructor

ListPatchDeploymentsResponse.fromJson(
  1. Map json_
)

Implementation

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