toJson method

Map<String, dynamic> toJson()

Implementation

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