ListApiDeploymentsResponse.fromJson constructor

ListApiDeploymentsResponse.fromJson(
  1. Map json_
)

Implementation

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