ListApiDeploymentRevisionsResponse.fromJson constructor

ListApiDeploymentRevisionsResponse.fromJson(
  1. Map json_
)

Implementation

ListApiDeploymentRevisionsResponse.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,
      );