setPlayerState method
Implementation
void setPlayerState(PlayerState state) {
_playerState = state;
PlatformStreams.instance
.addPlayerStateEvent(PlayerIdentifier(playerKey, state));
}
void setPlayerState(PlayerState state) {
_playerState = state;
PlatformStreams.instance
.addPlayerStateEvent(PlayerIdentifier(playerKey, state));
}