copyWith method
AgoraUser
copyWith({
- int? uid,
- bool? remote,
- bool? muted,
- bool? videoDisabled,
- ClientRoleType? clientRoleType,
Implementation
AgoraUser copyWith({
int? uid,
bool? remote,
bool? muted,
bool? videoDisabled,
ClientRoleType? clientRoleType,
}) {
return AgoraUser(
uid: uid ?? this.uid,
remote: remote ?? this.remote,
muted: muted ?? this.muted,
videoDisabled: videoDisabled ?? this.videoDisabled,
clientRoleType: clientRoleType ?? this.clientRoleType,
);
}