toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (alignment != null) 'alignment': alignment!,
      if (direction != null) 'direction': direction!,
      if (indentEnd != null) 'indentEnd': indentEnd!,
      if (indentFirstLine != null) 'indentFirstLine': indentFirstLine!,
      if (indentStart != null) 'indentStart': indentStart!,
      if (lineSpacing != null) 'lineSpacing': lineSpacing!,
      if (spaceAbove != null) 'spaceAbove': spaceAbove!,
      if (spaceBelow != null) 'spaceBelow': spaceBelow!,
      if (spacingMode != null) 'spacingMode': spacingMode!,
    };