toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (boundingPoly != null) 'boundingPoly': boundingPoly!.toJson(),
if (confidence != null) 'confidence': confidence!,
if (orientation != null) 'orientation': orientation!,
if (textAnchor != null) 'textAnchor': textAnchor!.toJson(),
};