DeploymentsListResponse.fromJson constructor

DeploymentsListResponse.fromJson(
  1. Map json_
)

Implementation

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