GoogleCloudAiplatformV1TimestampSplit.fromJson constructor

GoogleCloudAiplatformV1TimestampSplit.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1TimestampSplit.fromJson(core.Map json_)
    : this(
        key: json_.containsKey('key') ? json_['key'] as core.String : null,
        testFraction: json_.containsKey('testFraction')
            ? (json_['testFraction'] as core.num).toDouble()
            : null,
        trainingFraction: json_.containsKey('trainingFraction')
            ? (json_['trainingFraction'] as core.num).toDouble()
            : null,
        validationFraction: json_.containsKey('validationFraction')
            ? (json_['validationFraction'] as core.num).toDouble()
            : null,
      );