copyWith method
- {String? nick,
- Affiliation? affiliation,
- Role? role}
Implementation
RoomMember copyWith({
String? nick,
Affiliation? affiliation,
Role? role,
}) {
return RoomMember(
nick ?? this.nick,
affiliation ?? this.affiliation,
role ?? this.role,
);
}