toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final context = this.context;
  final cropHintsAnnotation = this.cropHintsAnnotation;
  final error = this.error;
  final faceAnnotations = this.faceAnnotations;
  final fullTextAnnotation = this.fullTextAnnotation;
  final imagePropertiesAnnotation = this.imagePropertiesAnnotation;
  final labelAnnotations = this.labelAnnotations;
  final landmarkAnnotations = this.landmarkAnnotations;
  final localizedObjectAnnotations = this.localizedObjectAnnotations;
  final logoAnnotations = this.logoAnnotations;
  final productSearchResults = this.productSearchResults;
  final safeSearchAnnotation = this.safeSearchAnnotation;
  final textAnnotations = this.textAnnotations;
  final webDetection = this.webDetection;
  return {
    'context': ?context,
    'cropHintsAnnotation': ?cropHintsAnnotation,
    'error': ?error,
    'faceAnnotations': ?faceAnnotations,
    'fullTextAnnotation': ?fullTextAnnotation,
    'imagePropertiesAnnotation': ?imagePropertiesAnnotation,
    'labelAnnotations': ?labelAnnotations,
    'landmarkAnnotations': ?landmarkAnnotations,
    'localizedObjectAnnotations': ?localizedObjectAnnotations,
    'logoAnnotations': ?logoAnnotations,
    'productSearchResults': ?productSearchResults,
    'safeSearchAnnotation': ?safeSearchAnnotation,
    'textAnnotations': ?textAnnotations,
    'webDetection': ?webDetection,
  };
}