toJson method

Map<String, dynamic> toJson()

Implementation

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