OcrData.fromJson constructor
Implementation
factory OcrData.fromJson(Map<String, dynamic> json) => OcrData(
text: json["text"],
path: json["path"] ?? "",
orientation: json["orientation"] ?? 0,
lines: List<OcrLine>.from((json["lines"] ?? []).map((x) => OcrLine.fromJson(x))),
);