isPrimary property

bool isPrimary

Checks if this player is the current primary player.

See also:

  • primary to get the current primary player.
  • setPrimary to set this player as the primary player.

Implementation

bool get isPrimary => BccmPlayerInterface.instance.stateNotifier.getPrimaryPlayerId() == value.playerId;