Block constructor

Block(
  1. {required TextProperty? property,
  2. required BoundingPoly? boundingBox,
  3. BlockType blockType = BlockType.UNKNOWN,
  4. required List<Paragraph>? paragraphs,
  5. required double? confidence}
)

Implementation

Block({
  required this.property,
  required this.boundingBox,
  this.blockType = BlockType.UNKNOWN,
  required this.paragraphs,
  required this.confidence,
});