toJson method

Map toJson()

Implementation

Map toJson() {
  return {
    'code': code,
    'guild': guild,
    'channel': channel,
    'inviter': inviter,
    'target_user': targetUser,
    'target_user_type': targetUserType,
    'approximate_presence_count': approximatePresenceCount,
    'approximate_member_count': approximateMemberCount,
  };
}