$FractionSplit.fromJson constructor

$FractionSplit.fromJson(
  1. Map json_
)

Implementation

$FractionSplit.fromJson(core.Map json_)
    : this(
        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,
      );