GoogleCloudAiplatformV1ListModelsResponse.fromJson constructor

GoogleCloudAiplatformV1ListModelsResponse.fromJson(
  1. Map json_
)

Implementation

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