ActiveLearningConfig.fromJson constructor

ActiveLearningConfig.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ActiveLearningConfig.fromJson(Map<String, dynamic> json) {
  return ActiveLearningConfig(
    maxDataItemCount: decodeInt64(json['maxDataItemCount']),
    maxDataItemPercentage: json['maxDataItemPercentage'],
    sampleConfig: decode(json['sampleConfig'], SampleConfig.fromJson),
    trainingConfig: decode(json['trainingConfig'], TrainingConfig.fromJson),
  );
}