RecognizedText class

Recognized text in an image.

Constructors

RecognizedText({required String text, required List<TextBlock> blocks})
Constructor to create an instance of RecognizedText.
RecognizedText.fromJson(Map json)
Returns an instance of RecognizedText from a given json.
factory

Properties

blocks List<TextBlock>
All the blocks of text present in image.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
String containing all the text identified in an image. The string is empty if no text was recognized.
final

Methods

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

Operators

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