members property
Map<Snowflake, GuildMember>
get
members
Get current online members
Implementation
Map<Snowflake, GuildMember> get members => guild.members.cache.where((member) => member.voice.channel?.id == id);