GoogleCloudMlV1ListVersionsResponse.fromJson constructor

GoogleCloudMlV1ListVersionsResponse.fromJson(
  1. Map json_
)

Implementation

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