GoogleCloudMlV1ListModelsResponse.fromJson constructor

GoogleCloudMlV1ListModelsResponse.fromJson(
  1. Map json_
)

Implementation

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