Glyph.fromJson constructor
Implementation
factory Glyph.fromJson(Map<String, dynamic> json) => Glyph(
text: json["text"] as String,
confidence: (json["confidence"] as num).toDouble(),
roi: (json["roi"] as List<dynamic>)
.map((it) => Point<double>(
((it as Map<String, dynamic>)["x"] as num).toDouble(),
((it)["y"] as num).toDouble()))
.toList(),
);