toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (boundingBox != null) 'boundingBox': boundingBox!,
      if (confidence != null) 'confidence': confidence!,
      if (property != null) 'property': property!,
      if (text != null) 'text': text!,
    };