toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (alignment != null) 'alignment': alignment!,
      if (avoidWidowAndOrphan != null)
        'avoidWidowAndOrphan': avoidWidowAndOrphan!,
      if (borderBetween != null) 'borderBetween': borderBetween!,
      if (borderBottom != null) 'borderBottom': borderBottom!,
      if (borderLeft != null) 'borderLeft': borderLeft!,
      if (borderRight != null) 'borderRight': borderRight!,
      if (borderTop != null) 'borderTop': borderTop!,
      if (direction != null) 'direction': direction!,
      if (headingId != null) 'headingId': headingId!,
      if (indentEnd != null) 'indentEnd': indentEnd!,
      if (indentFirstLine != null) 'indentFirstLine': indentFirstLine!,
      if (indentStart != null) 'indentStart': indentStart!,
      if (keepLinesTogether != null) 'keepLinesTogether': keepLinesTogether!,
      if (keepWithNext != null) 'keepWithNext': keepWithNext!,
      if (lineSpacing != null) 'lineSpacing': lineSpacing!,
      if (namedStyleType != null) 'namedStyleType': namedStyleType!,
      if (pageBreakBefore != null) 'pageBreakBefore': pageBreakBefore!,
      if (shading != null) 'shading': shading!,
      if (spaceAbove != null) 'spaceAbove': spaceAbove!,
      if (spaceBelow != null) 'spaceBelow': spaceBelow!,
      if (spacingMode != null) 'spacingMode': spacingMode!,
      if (tabStops != null) 'tabStops': tabStops!,
    };