isClientAdmin method Null safety
- PlayerID? id
Returns whether the client by id
is the admin
Implementation
bool isClientAdmin(PlayerID? id) => id == gameConfig.adminID;
Returns whether the client by id
is the admin
bool isClientAdmin(PlayerID? id) => id == gameConfig.adminID;