toJson method

Map<String, dynamic> toJson()

Implementation

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