toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (bullet != null) 'bullet': bullet!,
      if (elements != null) 'elements': elements!,
      if (paragraphStyle != null) 'paragraphStyle': paragraphStyle!,
      if (positionedObjectIds != null)
        'positionedObjectIds': positionedObjectIds!,
      if (suggestedBulletChanges != null)
        'suggestedBulletChanges': suggestedBulletChanges!,
      if (suggestedParagraphStyleChanges != null)
        'suggestedParagraphStyleChanges': suggestedParagraphStyleChanges!,
      if (suggestedPositionedObjectIds != null)
        'suggestedPositionedObjectIds': suggestedPositionedObjectIds!,
    };