TextLine constructor

TextLine({
  1. required String text,
  2. required List<TextElement> elements,
  3. required Rect boundingBox,
  4. required List<String> recognizedLanguages,
  5. required List<Point<int>> cornerPoints,
  6. required double? confidence,
  7. required double? angle,
})

Constructor to create an instance of TextLine.

Implementation

TextLine({
  required this.text,
  required this.elements,
  required this.boundingBox,
  required this.recognizedLanguages,
  required this.cornerPoints,
  required this.confidence,
  required this.angle,
});