Label.fromJson constructor

Label.fromJson(
  1. Map json
)

Returns an instance of Label from a given json.

Implementation

factory Label.fromJson(Map<dynamic, dynamic> json) => Label(
      confidence: json['confidence'],
      index: json['index'],
      text: json['text'],
    );