toJson method
Implementation
@override
Map toJson() {
return {
'uses': uses,
'max_uses': maxUses,
'max_age': maxAge,
'temporary': temporary,
'created_at': createdAt,
'code': code,
'guild': guild,
'channel': channel,
'inviter': inviter,
'target_user': targetUser,
'target_user_type': targetUserType,
'approximate_presence_count': approximatePresenceCount,
'approximate_member_count': approximateMemberCount,
};
}