GoogleCloudAiplatformV1StratifiedSplit.fromJson constructor

GoogleCloudAiplatformV1StratifiedSplit.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1StratifiedSplit.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,
      );