toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (columnProperties != null) 'columnProperties': columnProperties!,
      if (columnSeparatorStyle != null)
        'columnSeparatorStyle': columnSeparatorStyle!,
      if (contentDirection != null) 'contentDirection': contentDirection!,
      if (defaultFooterId != null) 'defaultFooterId': defaultFooterId!,
      if (defaultHeaderId != null) 'defaultHeaderId': defaultHeaderId!,
      if (evenPageFooterId != null) 'evenPageFooterId': evenPageFooterId!,
      if (evenPageHeaderId != null) 'evenPageHeaderId': evenPageHeaderId!,
      if (firstPageFooterId != null) 'firstPageFooterId': firstPageFooterId!,
      if (firstPageHeaderId != null) 'firstPageHeaderId': firstPageHeaderId!,
      if (flipPageOrientation != null)
        'flipPageOrientation': flipPageOrientation!,
      if (marginBottom != null) 'marginBottom': marginBottom!,
      if (marginFooter != null) 'marginFooter': marginFooter!,
      if (marginHeader != null) 'marginHeader': marginHeader!,
      if (marginLeft != null) 'marginLeft': marginLeft!,
      if (marginRight != null) 'marginRight': marginRight!,
      if (marginTop != null) 'marginTop': marginTop!,
      if (pageNumberStart != null) 'pageNumberStart': pageNumberStart!,
      if (sectionType != null) 'sectionType': sectionType!,
      if (useFirstPageHeaderFooter != null)
        'useFirstPageHeaderFooter': useFirstPageHeaderFooter!,
    };