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