toJson method
Returns a json representation of an instance of FirebaseObjectDetectorOptions.
Implementation
@override
Map<String, dynamic> toJson() => {
'mode': mode.index,
'type': type.name,
'classify': classifyObjects,
'multiple': multipleObjects,
'modelName': modelName,
'threshold': confidenceThreshold,
'maxLabels': maximumLabelsPerObject,
};