ConsentParticipant.fromRemoteParticipant constructor
ConsentParticipant.fromRemoteParticipant(
- RemoteParticipant remote
Implementation
factory ConsentParticipant.fromRemoteParticipant(RemoteParticipant remote) {
return ConsentParticipant(
participantName: remote.name,
participantId: remote.identity,
participantAvatar: Utils.getInitials(remote.name),
// default or mapped
consent: "pending",
);
}