toJson method

Map<String, dynamic> toJson()

Implementation

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