isSpeaking property

bool isSpeaking

if Participant is currently speaking.

Implementation

bool get isSpeaking => _isSpeaking;
  1. @internal
void isSpeaking=(bool speaking)

for internal use {@nodoc}

Implementation

@internal
set isSpeaking(bool speaking) {
  if (_isSpeaking == speaking) {
    return;
  }
  _isSpeaking = speaking;
  if (speaking) {
    lastSpokeAt = DateTime.now();
  }

  events.emit(SpeakingChangedEvent(
    participant: this,
    speaking: speaking,
  ));
}