toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (backgroundSuggestionState != null)
        'backgroundSuggestionState': backgroundSuggestionState!,
      if (defaultFooterIdSuggested != null)
        'defaultFooterIdSuggested': defaultFooterIdSuggested!,
      if (defaultHeaderIdSuggested != null)
        'defaultHeaderIdSuggested': defaultHeaderIdSuggested!,
      if (evenPageFooterIdSuggested != null)
        'evenPageFooterIdSuggested': evenPageFooterIdSuggested!,
      if (evenPageHeaderIdSuggested != null)
        'evenPageHeaderIdSuggested': evenPageHeaderIdSuggested!,
      if (firstPageFooterIdSuggested != null)
        'firstPageFooterIdSuggested': firstPageFooterIdSuggested!,
      if (firstPageHeaderIdSuggested != null)
        'firstPageHeaderIdSuggested': firstPageHeaderIdSuggested!,
      if (flipPageOrientationSuggested != null)
        'flipPageOrientationSuggested': flipPageOrientationSuggested!,
      if (marginBottomSuggested != null)
        'marginBottomSuggested': marginBottomSuggested!,
      if (marginFooterSuggested != null)
        'marginFooterSuggested': marginFooterSuggested!,
      if (marginHeaderSuggested != null)
        'marginHeaderSuggested': marginHeaderSuggested!,
      if (marginLeftSuggested != null)
        'marginLeftSuggested': marginLeftSuggested!,
      if (marginRightSuggested != null)
        'marginRightSuggested': marginRightSuggested!,
      if (marginTopSuggested != null)
        'marginTopSuggested': marginTopSuggested!,
      if (pageNumberStartSuggested != null)
        'pageNumberStartSuggested': pageNumberStartSuggested!,
      if (pageSizeSuggestionState != null)
        'pageSizeSuggestionState': pageSizeSuggestionState!,
      if (useCustomHeaderFooterMarginsSuggested != null)
        'useCustomHeaderFooterMarginsSuggested':
            useCustomHeaderFooterMarginsSuggested!,
      if (useEvenPageHeaderFooterSuggested != null)
        'useEvenPageHeaderFooterSuggested': useEvenPageHeaderFooterSuggested!,
      if (useFirstPageHeaderFooterSuggested != null)
        'useFirstPageHeaderFooterSuggested':
            useFirstPageHeaderFooterSuggested!,
    };