AgoraSettings
copyWith(- {RtcEngine? engine,
- AgoraConnectionData? connectionData,
- List<AgoraUser>? users,
- AgoraUser? mainAgoraUser,
- bool? isLocalUserMuted,
- bool? isLocalVideoDisabled,
- bool? visible,
- ClientRole? clientRole,
- int? localUid,
- String? generatedToken,
- bool? isActiveSpeakerDisabled}
)
Implementation
AgoraSettings copyWith({
RtcEngine? engine,
AgoraConnectionData? connectionData,
List<AgoraUser>? users,
AgoraUser? mainAgoraUser,
bool? isLocalUserMuted,
bool? isLocalVideoDisabled,
bool? visible,
ClientRole? clientRole,
int? localUid,
String? generatedToken,
bool? isActiveSpeakerDisabled,
}) {
return AgoraSettings(
engine: engine ?? this.engine,
connectionData: connectionData ?? this.connectionData,
users: users ?? this.users,
mainAgoraUser: mainAgoraUser ?? this.mainAgoraUser,
isLocalUserMuted: isLocalUserMuted ?? this.isLocalUserMuted,
isLocalVideoDisabled: isLocalVideoDisabled ?? this.isLocalVideoDisabled,
visible: visible ?? this.visible,
clientRole: clientRole ?? this.clientRole,
localUid: localUid ?? this.localUid,
generatedToken: generatedToken ?? this.generatedToken,
isActiveSpeakerDisabled: isActiveSpeakerDisabled ?? this.isActiveSpeakerDisabled,
);
}