DataSplitResult.fromJson constructor

DataSplitResult.fromJson(
  1. Map json_
)

Implementation

DataSplitResult.fromJson(core.Map json_)
    : this(
        evaluationTable: json_.containsKey('evaluationTable')
            ? TableReference.fromJson(json_['evaluationTable']
                as core.Map<core.String, core.dynamic>)
            : null,
        testTable: json_.containsKey('testTable')
            ? TableReference.fromJson(
                json_['testTable'] as core.Map<core.String, core.dynamic>)
            : null,
        trainingTable: json_.containsKey('trainingTable')
            ? TableReference.fromJson(
                json_['trainingTable'] as core.Map<core.String, core.dynamic>)
            : null,
      );