toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (cropHintsParams != null) 'cropHintsParams': cropHintsParams!,
  if (languageHints != null) 'languageHints': languageHints!,
  if (latLongRect != null) 'latLongRect': latLongRect!,
  if (productSearchParams != null)
    'productSearchParams': productSearchParams!,
  if (textDetectionParams != null)
    'textDetectionParams': textDetectionParams!,
  if (webDetectionParams != null) 'webDetectionParams': webDetectionParams!,
};