GoogleCloudMlV1TrialParameter.fromJson constructor

GoogleCloudMlV1TrialParameter.fromJson(
  1. Map json_
)

Implementation

GoogleCloudMlV1TrialParameter.fromJson(core.Map json_)
    : this(
        floatValue: json_.containsKey('floatValue')
            ? (json_['floatValue'] as core.num).toDouble()
            : null,
        intValue: json_.containsKey('intValue')
            ? json_['intValue'] as core.String
            : null,
        parameter: json_.containsKey('parameter')
            ? json_['parameter'] as core.String
            : null,
        stringValue: json_.containsKey('stringValue')
            ? json_['stringValue'] as core.String
            : null,
      );