toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'xfdf': xfdf,
'xfdfKeepCurrentAnnotations': xfdfKeepCurrentAnnotations,
'autoCloseThreshold': autoCloseThreshold,
'baseCoreUrl': baseCoreUrl,
'baseUrl': baseUrl,
'container': container,
'customFonts': customFonts,
'disableHighQualityPrinting': disableHighQualityPrinting,
'disableMultiSelection': disableMultiSelection,
'disableOpenParameters': disableOpenParameters,
'disableWebAssemblyStreaming': disableWebAssemblyStreaming,
'documentEditorFooterItems': documentEditorFooterItems,
'documentEditorToolbarItems': documentEditorToolbarItems,
'enableAutomaticLinkExtraction': enableAutomaticLinkExtraction,
'enableClipboardActions': enableClipboardActions,
'enableHistory': enableHistory,
'enableServiceWorkerSupport': enableServiceWorkerSupport,
'formFieldsNotSavingSignatures': formFieldsNotSavingSignatures,
'headless': headless,
'instantJSON': instantJSON,
'locale': locale,
'maxDefaultZoomLevel': maxDefaultZoomLevel,
'maxMentionSuggestions': maxMentionSuggestions,
'maxPasswordRetries': maxPasswordRetries,
'mentionableUsers': mentionableUsers,
'minDefaultZoomLevel': minDefaultZoomLevel,
'overrideMemoryLimit': overrideMemoryLimit,
'preventTextCopy': preventTextCopy,
'printOptions': printOptions,
'restrictAnnotationToPageBounds': restrictAnnotationToPageBounds,
'serverUrl': serverUrl,
'stampAnnotationTemplates': stampAnnotationTemplates,
'standaloneInstancesPoolSize': standaloneInstancesPoolSize,
'styleSheets': styleSheets,
'toolbarPlacement': toolbarPlacement?.webName,
'formDesignMode': formDesignMode,
'interactionMode': interactionMode?.webName,
'allowPrinting': allowPrinting,
'canScrollWhileDrawing': canScrollWhileDrawing,
'keepFirstSpreadAsSinglePage': keepFirstSpreadAsSinglePage,
'keepSelectedTool': keepSelectedTool,
'pageSpacing': pageSpacing,
'pageRotation': pageRotation,
'previewRedactionMode': previewRedactionMode,
'showSignatureValidationStatus': showSignatureValidationStatus?.webName,
'showAnnotationNotes': showAnnotationNotes,
'showAnnotations': showAnnotations,
'spreadSpacing': spreadSpacing,
'customUIConfiguration': customUIConfiguration,
'customRenderers': customRenderers,
'electronicSignatures': electronicSignatures,
'documentId': documentId,
'editableAnnotationTypes': editableAnnotationTypes,
'instant': instant,
'disableForms': disableForms,
'disableTextSelection': disableTextSelection,
'toolbarItems': toolbarItems,
'annotationToolbarItems': annotationToolbarItems,
'authPayload': authPayload
}..removeWhere((key, value) => value == null);
}