isBannable property

bool get isBannable

Returns whether of this has a given can be banned

final member = member.isBannable;
print(member);

Implementation

bool get isBannable => isManageable && permissions.has(ClientPermission.banMembers);