Config.fromJson constructor

Config.fromJson(
  1. Map<String, dynamic> json
)

Implementation

Config.fromJson(Map<String, dynamic> json)
    : _disabledElements = json['disabledElements'],
      _disabledTools = json['disabledTools'],
      _multiTabEnabled = json['multiTabEnabled'],
      _customHeaders = json['customHeaders'],
      _fitMode = json['fitMode'],
      _layoutMode = json['layoutMode'],
      _tabletLayoutEnabled = json['tabletLayoutEnabled'],
      _initialPageNumber = json['initialPageNumber'],
      _isBase64String = json['isBase64String'],
      _base64FileExtension = json['base64FileExtension'],
      _hideThumbnailFilterModes = json['hideThumbnailFilterModes'],
      _longPressMenuEnabled = json['longPressMenuEnabled'],
      _longPressMenuItems = json['longPressMenuItems'],
      _overrideLongPressMenuBehavior = json['overrideLongPressMenuBehavior'],
      _hideAnnotationMenu = json['hideAnnotationMenu'],
      _annotationMenuItems = json['annotationMenuItems'],
      _overrideAnnotationMenuBehavior =
          json['overrideAnnotationMenuBehavior'],
      _excludedAnnotationListTypes = json['excludedAnnotationListTypes'],
      _exportPath = json['exportPath'],
      _openUrlPath = json['openUrlPath'],
      _openSavedCopyInNewTab = json['openSavedCopyInNewTab'],
      _maxTabCount = json['maxTabCount'],
      _autoSaveEnabled = json['autoSaveEnabled'],
      _showDocumentSavedToast = json['showDocumentSavedToast'],
      _pageChangeOnTap = json['pageChangeOnTap'],
      _showSavedSignatures = json['showSavedSignatures'],
      _signaturePhotoPickerEnabled = json['signaturePhotoPickerEnabled'],
      _signatureTypingEnabled = json['signatureTypingEnabled'],
      _signatureDrawingEnabled = json['signatureDrawingEnabled'],
      _useStylusAsPen = json['useStylusAsPen'],
      _signSignatureFieldWithStamps = json['signSignatureFieldWithStamps'],
      _signatureColors = json['signatureColors'],
      _selectAnnotationAfterCreation = json['selectAnnotationAfterCreation'],
      _pageIndicatorEnabled = json['pageIndicatorEnabled'],
      _showQuickNavigationButton = json['showQuickNavigationButton'],
      _followSystemDarkMode = json['followSystemDarkMode'],
      _downloadDialogEnabled = json['downloadDialogEnabled'],
      _singleLineToolbar = json['_singleLineToolbar'],
      _annotationToolbars = json['annotationToolbars'],
      _hideDefaultAnnotationToolbars = json['hideDefaultAnnotationToolbars'],
      _hideAnnotationToolbarSwitcher = json['hideAnnotationToolbarSwitcher'],
      _initialToolbar = json['initialToolbar'],
      _hideTopToolbars = json['hideTopToolbars'],
      _hideToolbarsOnTap = json['hideToolbarsOnTap'],
      _hideTopAppNavBar = json['hideTopAppNavBar'],
      _topAppNavBarRighBar = json['topAppNavBarRightBar'],
      _hideBottomToolbar = json['hideBottomToolbar'],
      _hidePresetBar = json['hidePresetBar'],
      _bottomToolbar = json['bottomToolbar'],
      _showLeadingNavButton = json['showLeadingNavButton'],
      _documentSliderEnabled = json['documentSliderEnabled'],
      _rememberLastUsedTool = json['rememberLastUsedTool'],
      _readOnly = json['readOnly'],
      _thumbnailViewEditingEnabled = json['thumbnailViewEditingEnabled'],
      _annotationAuthor = json['annotationAuthor'],
      _continuousAnnotationEditing = json['continuousAnnotationEditing'],
      _annotationPermissionCheckEnabled =
          json['annotationPermissionCheckEnabled'],
      _annotationsListEditingEnabled = json['annotationsListEditingEnabled'],
      _userBookmarksListEditingEnabled =
          json['userBookmarksListEditingEnabled'],
      _showNavigationListAsSidePanelOnLargeDevices =
          json['showNavigationListAsSidePanelOnLargeDevices'],
      _overrideBehavior = json['overrideBehavior'],
      _tabTitle = json['tabTitle'],
      _pageNumberIndicatorAlwaysVisible =
          json['pageNumberIndicatorAlwaysVisible'],
      _disableEditingByAnnotationType =
          json['disableEditingByAnnotationType'],
      _annotationsListFilterEnabled = json['annotationsListFilterEnabled'],
      _hideViewModeItems = json['hideViewModeItems'],
      _defaultEraserType = json['defaultEraserType'],
      _autoResizeFreeTextEnabled = json['autoResizeFreeTextEnabled'],
      _restrictDownloadUsage = json['restrictDownloadUsage'],
      _reflowOrientation = json['reflowOrientation'],
      _imageInReflowModeEnabled = json['imageInReflowModeEnabled'],
      _annotationManagerEnabled = json['annotationManagerEnabled'],
      _userId = json['userId'],
      _userName = json['userName'],
      _annotationManagerEditMode = json['annotationManagerEditMode'],
      _annotationManagerUndoMode = json['annotationManagerUndoMode'],
      _annotationToolbarAlignment = json['annotationToolbarAlignment'],
      _outlineListEditingEnabled = json['outlineListEditingEnabled'],
      _hideScrollbars = json['hideScrollbars'],
      _quickBookmarkCreation = json['quickBookmarkCreation'],

      // Hygen Generated Configs (3)
      _maxSignatureCount = json['maxSignatureCount'],

      _fullScreenModeEnabled = json['fullScreenModeEnabled'];