toJson method

Map toJson()

Implementation

Map toJson() {
  return {
    'channel_id': channelId,
    'code': code,
    'timestamp': timestamp,
    'guild_id': guildId,
    'inviter': inviter,
    'max_age': maxAge,
    'max_uses': maxUses,
    'target_user': targetUser,
    'target_user_type': targetUserType,
    'temporary': temporary,
    'uses': uses,
  };
}