TextLine.from constructor

TextLine.from(
  1. Map json
)

Implementation

factory TextLine.from(Map json) => TextLine(
      text: json['text'] as String,
      language: json['language'] as String,
      cornerPoints: toPoints(json['cornerPoints']),
      frame: toRect(json['frame']),
      elements: toElements(json['elements']),
    );