GoogleCloudAiplatformV1IndexDatapointNumericRestriction.fromJson constructor

GoogleCloudAiplatformV1IndexDatapointNumericRestriction.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1IndexDatapointNumericRestriction.fromJson(
    core.Map json_)
    : this(
        namespace: json_.containsKey('namespace')
            ? json_['namespace'] as core.String
            : null,
        op: json_.containsKey('op') ? json_['op'] as core.String : null,
        valueDouble: json_.containsKey('valueDouble')
            ? (json_['valueDouble'] as core.num).toDouble()
            : null,
        valueFloat: json_.containsKey('valueFloat')
            ? (json_['valueFloat'] as core.num).toDouble()
            : null,
        valueInt: json_.containsKey('valueInt')
            ? json_['valueInt'] as core.String
            : null,
      );