ImageLabel.fromJson constructor
ImageLabel.fromJson(
- Map json
Returns an instance of ImageLabel from a given json
.
Implementation
factory ImageLabel.fromJson(Map<dynamic, dynamic> json) => ImageLabel(
confidence: json['confidence'],
label: json['text'],
index: json['index'],
);