toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (id != null) 'id': id!,
      if (labelsAdded != null) 'labelsAdded': labelsAdded!,
      if (labelsRemoved != null) 'labelsRemoved': labelsRemoved!,
      if (messages != null) 'messages': messages!,
      if (messagesAdded != null) 'messagesAdded': messagesAdded!,
      if (messagesDeleted != null) 'messagesDeleted': messagesDeleted!,
    };