toJson method

Map toJson()

Implementation

Map toJson() {
  return {
    'id': id,
    'type': type,
    'guild_id': guildId,
    'channel_id': channelId,
    'user': user,
    'name': name,
    'avatar': avatar,
    'application_id': applicationId,
  };
}