GoogleCloudAiplatformV1TrialContext.fromJson constructor

GoogleCloudAiplatformV1TrialContext.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1TrialContext.fromJson(core.Map json_)
    : this(
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        parameters: json_.containsKey('parameters')
            ? (json_['parameters'] as core.List)
                .map((value) =>
                    GoogleCloudAiplatformV1TrialParameter.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );