updateName method

  1. @internal
void updateName(
  1. String name
)

Implementation

@internal
void updateName(String name) {
  if (_name == name) return;
  _name = name;
  [events, room.events].emit(ParticipantNameUpdatedEvent(
    participant: this,
    name: name,
  ));
}