toggleHandRaise method

  1. @override
void toggleHandRaise()
override

Implementation

@override
void toggleHandRaise() {
  if (_mParticipant == null) return;

  _mParticipant = _mParticipant?.copyWith(
    isHandRaising: !_mParticipant!.isHandRaising,
  );

  _notify(CallbackEvents.shouldBeUpdateState);

  _wsEmitter.toggleHandRaise(_mParticipant!.isHandRaising);
}