Symbol class

A single symbol representation.

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

Symbol({required TextProperty? property, required BoundingPoly? boundingBox, required String? text, required double? confidence})
Symbol.fromJson(Map<String, dynamic> json)
factory

Properties

boundingBox BoundingPoly?
The bounding box for the symbol. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example:
final
confidence double?
Confidence of the OCR results for the symbol. Range [0, 1].
final
hashCode int
The hash code for this object.
no setterinherited
property TextProperty?
Additional information detected for the symbol.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String?
The actual UTF-8 representation of the symbol.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited