toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (cloudAiDocumentOption != null)
        'cloudAiDocumentOption': cloudAiDocumentOption!,
      if (createMask != null) 'createMask': createMask!,
      if (document != null) 'document': document!,
      if (policy != null) 'policy': policy!,
      if (requestMetadata != null) 'requestMetadata': requestMetadata!,
    };