toJson method
Returns a json representation of an instance of FaceDetectorOptions.
Implementation
Map<String, dynamic> toJson() => {
'enableClassification': enableClassification,
'enableLandmarks': enableLandmarks,
'enableContours': enableContours,
'enableTracking': enableTracking,
'minFaceSize': minFaceSize,
'mode': performanceMode.name,
};