TextBlock.from constructor
TextBlock.from(
- Map json
Implementation
factory TextBlock.from(Map json) => TextBlock(
text: json['text'] as String,
language: json['language'] as String,
cornerPoints: toPoints(json['cornerPoints']),
frame: toRect(json['frame']),
lines: toLines(json['lines']),
);