MachineLearningDetectionConfig.fromJson constructor

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

Implementation

factory MachineLearningDetectionConfig.fromJson(Map<String, dynamic> json) {
  return MachineLearningDetectionConfig(
    confidenceLevel: (json['confidenceLevel'] as String).toConfidenceLevel(),
  );
}