TextAnnotation class Null safety

Set of detected texts with bounding boxes.

Annotations

Constructors

TextAnnotation({required String? locale, String? description, BoundingPoly? boundingPoly})
TextAnnotation.fromJson(Map<String, dynamic> json)
factory

Properties

boundingPoly BoundingPoly?
Image region to which this text belongs. This must be populated.
final
description String?
Entity textual description, expressed in its locale language.
final
hashCode int
The hash code for this object.
read-onlyinherited
locale String?
The language code for the locale in which the entity textual description is expressed.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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