toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (fieldMask != null) 'fieldMask': fieldMask!,
      if (gcsDocument != null) 'gcsDocument': gcsDocument!,
      if (inlineDocument != null) 'inlineDocument': inlineDocument!,
      if (labels != null) 'labels': labels!,
      if (processOptions != null) 'processOptions': processOptions!,
      if (rawDocument != null) 'rawDocument': rawDocument!,
      if (skipHumanReview != null) 'skipHumanReview': skipHumanReview!,
    };