ListApiVersionsResponse.fromJson constructor

ListApiVersionsResponse.fromJson(
  1. Map json_
)

Implementation

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