copyWith method

CallStateReady copyWith({
  1. CallProtocol? protocol,
  2. List<CallServer>? servers,
  3. String? config,
  4. String? encryptionKey,
  5. List<String>? emojis,
  6. bool? allowP2p,
  7. bool? isGroupCallSupported,
  8. 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,
);