setName method

void setName(
  1. String name
)

Sets and updates the name of the local participant. Note: this requires CanUpdateOwnMetadata permission encoded in the token. @param name

Implementation

void setName(String name) {
  super.updateName(name);
  room.engine.signalClient
      .sendUpdateLocalMetadata(lk_rtc.UpdateParticipantMetadata(
    name: name,
    metadata: metadata,
  ));
}