copyWith method
CallStateReady
copyWith({
- CallProtocol? protocol,
- List<
CallServer> ? servers, - String? config,
- String? encryptionKey,
- List<
String> ? emojis, - bool? allowP2p,
- bool? isGroupCallSupported,
- String? customParameters,
Implementation
CallStateReady copyWith({
CallProtocol? protocol,
List<CallServer>? servers,
String? config,
String? encryptionKey,
List<String>? emojis,
bool? allowP2p,
bool? isGroupCallSupported,
String? customParameters,
}) => CallStateReady(
protocol: protocol ?? this.protocol,
servers: servers ?? this.servers,
config: config ?? this.config,
encryptionKey: encryptionKey ?? this.encryptionKey,
emojis: emojis ?? this.emojis,
allowP2p: allowP2p ?? this.allowP2p,
isGroupCallSupported: isGroupCallSupported ?? this.isGroupCallSupported,
customParameters: customParameters ?? this.customParameters,
);