toJson method

  1. @override
Map<String, dynamic> toJson()
override

Returns a json representation of an instance of LocalLabelerOptions.

Implementation

@override
Map<String, dynamic> toJson() => {
      'confidenceThreshold': confidenceThreshold,
      'type': type.name,
      'path': modelPath,
      'maxCount': maxCount
    };