toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final customizedAttribution = this.customizedAttribution;
  final documentInputConfig = this.documentInputConfig;
  final documentOutputConfig = this.documentOutputConfig;
  final enableRotationCorrection = this.enableRotationCorrection;
  final enableShadowRemovalNativePdf = this.enableShadowRemovalNativePdf;
  final glossaryConfig = this.glossaryConfig;
  final isTranslateNativePdfOnly = this.isTranslateNativePdfOnly;
  final labels = this.labels;
  final model = this.model;
  final sourceLanguageCode = this.sourceLanguageCode;
  final targetLanguageCode = this.targetLanguageCode;
  return {
    'customizedAttribution': ?customizedAttribution,
    'documentInputConfig': ?documentInputConfig,
    'documentOutputConfig': ?documentOutputConfig,
    'enableRotationCorrection': ?enableRotationCorrection,
    'enableShadowRemovalNativePdf': ?enableShadowRemovalNativePdf,
    'glossaryConfig': ?glossaryConfig,
    'isTranslateNativePdfOnly': ?isTranslateNativePdfOnly,
    'labels': ?labels,
    'model': ?model,
    'sourceLanguageCode': ?sourceLanguageCode,
    'targetLanguageCode': ?targetLanguageCode,
  };
}