copyWith method
Implementation
SessionOptions copyWith({
Room? room,
bool? preConnectAudio,
Duration? agentConnectTimeout,
}) {
return SessionOptions(
room: room ?? this.room,
preConnectAudio: preConnectAudio ?? this.preConnectAudio,
agentConnectTimeout: agentConnectTimeout ?? this.agentConnectTimeout,
);
}