copyWith method Null safety
- {int? uid,
- bool? remote,
- bool? muted,
- bool? videoDisabled,
- ClientRole? clientRole}
Implementation
AgoraUser copyWith({
int? uid,
bool? remote,
bool? muted,
bool? videoDisabled,
ClientRole? clientRole,
}) {
return AgoraUser(
uid: uid ?? this.uid,
remote: remote ?? this.remote,
muted: muted ?? this.muted,
videoDisabled: videoDisabled ?? this.videoDisabled,
clientRole: clientRole ?? this.clientRole,
);
}