copyWith method

  1. @override
CallStateReady copyWith({
  1. CallProtocol? protocol,
  2. List<CallServer>? servers,
  3. String? config,
  4. String? encryptionKey,
  5. List<String>? emojis,
  6. bool? allowP2p,
})
override

Implementation

@override
CallStateReady copyWith({
  CallProtocol? protocol,
  List<CallServer>? servers,
  String? config,
  String? encryptionKey,
  List<String>? emojis,
  bool? allowP2p,
}) =>
    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,
    );