canKick property

bool get canKick

The level required to kick a user.

Implementation

bool get canKick =>
    (getState(EventTypes.RoomPowerLevels)?.content.tryGet<int>('kick') ??
        50) <=
    ownPowerLevel;