toJson method
Returns a json representation of an instance of ImageLabelerOptions.
Implementation
Map<String, dynamic> toJson() => {
'confidenceThreshold': confidenceThreshold,
'type': type.name,
};
Returns a json representation of an instance of ImageLabelerOptions.
Map<String, dynamic> toJson() => {
'confidenceThreshold': confidenceThreshold,
'type': type.name,
};