toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (footnoteId != null) 'footnoteId': footnoteId!,
      if (footnoteNumber != null) 'footnoteNumber': footnoteNumber!,
      if (suggestedDeletionIds != null)
        'suggestedDeletionIds': suggestedDeletionIds!,
      if (suggestedInsertionIds != null)
        'suggestedInsertionIds': suggestedInsertionIds!,
      if (suggestedTextStyleChanges != null)
        'suggestedTextStyleChanges': suggestedTextStyleChanges!,
      if (textStyle != null) 'textStyle': textStyle!,
    };