toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (baseProcessorVersion != null)
        'baseProcessorVersion': baseProcessorVersion!,
      if (customDocumentExtractionOptions != null)
        'customDocumentExtractionOptions': customDocumentExtractionOptions!,
      if (documentSchema != null) 'documentSchema': documentSchema!,
      if (foundationModelTuningOptions != null)
        'foundationModelTuningOptions': foundationModelTuningOptions!,
      if (inputData != null) 'inputData': inputData!,
      if (processorVersion != null) 'processorVersion': processorVersion!,
    };