chore: restore product scaffold to rollback baseline
This commit is contained in:
@@ -248,7 +248,7 @@ return audioRouteChanged(_that.route);case _:
|
||||
|
||||
class BridgeEvent_Connected extends BridgeEvent {
|
||||
const BridgeEvent_Connected({required this.serverName}): super._();
|
||||
|
||||
|
||||
|
||||
/// Server name reported by the server snapshot.
|
||||
final String serverName;
|
||||
@@ -315,7 +315,7 @@ as String,
|
||||
|
||||
class BridgeEvent_Lost extends BridgeEvent {
|
||||
const BridgeEvent_Lost({required this.reason}): super._();
|
||||
|
||||
|
||||
|
||||
/// Reason classification from the protocol layer.
|
||||
final String reason;
|
||||
@@ -382,7 +382,7 @@ as String,
|
||||
|
||||
class BridgeEvent_Reconnecting extends BridgeEvent {
|
||||
const BridgeEvent_Reconnecting({required this.attempt, required this.delaySecs}): super._();
|
||||
|
||||
|
||||
|
||||
/// 1-based attempt counter for the current outage.
|
||||
final int attempt;
|
||||
@@ -452,7 +452,7 @@ as int,
|
||||
|
||||
class BridgeEvent_Disconnected extends BridgeEvent {
|
||||
const BridgeEvent_Disconnected({required this.reason}): super._();
|
||||
|
||||
|
||||
|
||||
/// Reason classification.
|
||||
final String reason;
|
||||
@@ -519,7 +519,7 @@ as String,
|
||||
|
||||
class BridgeEvent_AudioStarted extends BridgeEvent {
|
||||
const BridgeEvent_AudioStarted(): super._();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -551,7 +551,7 @@ String toString() {
|
||||
|
||||
class BridgeEvent_AudioStopped extends BridgeEvent {
|
||||
const BridgeEvent_AudioStopped(): super._();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -583,7 +583,7 @@ String toString() {
|
||||
|
||||
class BridgeEvent_SnapshotChanged extends BridgeEvent {
|
||||
const BridgeEvent_SnapshotChanged({required this.channels, required this.clients}): super._();
|
||||
|
||||
|
||||
|
||||
/// Latest channel count.
|
||||
final int channels;
|
||||
@@ -653,7 +653,7 @@ as int,
|
||||
|
||||
class BridgeEvent_PttCapability extends BridgeEvent {
|
||||
const BridgeEvent_PttCapability({required this.level, required this.backendId, required this.boundInputClass}): super._();
|
||||
|
||||
|
||||
|
||||
/// Stable capability identifier (`"L0Focused"`,
|
||||
/// `"L1GlobalShortcut"`, `"L2GlobalHoldToTalk"`,
|
||||
@@ -729,7 +729,7 @@ as String,
|
||||
|
||||
class BridgeEvent_VoiceState extends BridgeEvent {
|
||||
const BridgeEvent_VoiceState({required this.inChannel, required this.transmitMode, required this.mute, required this.releaseTailMs, this.currentChannelId, this.pendingTargetChannelId, required this.canJoin, required this.canLeave, required this.joinSyncState, this.joinErrorCode}): super._();
|
||||
|
||||
|
||||
|
||||
/// True when the session is currently joined to a voice
|
||||
/// channel and the audio engine is running.
|
||||
@@ -824,7 +824,7 @@ as BridgeVoiceJoinErrorCode?,
|
||||
|
||||
class BridgeEvent_InterruptionState extends BridgeEvent {
|
||||
const BridgeEvent_InterruptionState({required this.began, required this.shouldResume}): super._();
|
||||
|
||||
|
||||
|
||||
/// True when interruption began, false when it ended.
|
||||
final bool began;
|
||||
@@ -894,7 +894,7 @@ as bool,
|
||||
|
||||
class BridgeEvent_PermissionState extends BridgeEvent {
|
||||
const BridgeEvent_PermissionState({required this.permission, required this.state}): super._();
|
||||
|
||||
|
||||
|
||||
/// Canonical Android permission identifier.
|
||||
final String permission;
|
||||
@@ -964,7 +964,7 @@ as PermissionStateKind,
|
||||
|
||||
class BridgeEvent_ChatMessage extends BridgeEvent {
|
||||
const BridgeEvent_ChatMessage({required this.senderId, required this.senderName, required this.message, required this.target}): super._();
|
||||
|
||||
|
||||
|
||||
/// Client id of the sender.
|
||||
final BigInt senderId;
|
||||
@@ -1037,7 +1037,7 @@ as BridgeMessageTarget,
|
||||
@override
|
||||
@pragma('vm:prefer-inline')
|
||||
$BridgeMessageTargetCopyWith<$Res> get target {
|
||||
|
||||
|
||||
return $BridgeMessageTargetCopyWith<$Res>(_self.target, (value) {
|
||||
return _then(_self.copyWith(target: value));
|
||||
});
|
||||
@@ -1049,7 +1049,7 @@ $BridgeMessageTargetCopyWith<$Res> get target {
|
||||
|
||||
class BridgeEvent_ServerActivity extends BridgeEvent {
|
||||
const BridgeEvent_ServerActivity({required this.message}): super._();
|
||||
|
||||
|
||||
|
||||
/// TeamSpeak-style activity line.
|
||||
final String message;
|
||||
@@ -1116,7 +1116,7 @@ as String,
|
||||
|
||||
class BridgeEvent_AudioRouteChanged extends BridgeEvent {
|
||||
const BridgeEvent_AudioRouteChanged({required this.route}): super._();
|
||||
|
||||
|
||||
|
||||
/// The new audio route.
|
||||
final BridgeAudioRoute route;
|
||||
@@ -1355,7 +1355,7 @@ return poke(_that.field0);case _:
|
||||
|
||||
class BridgeMessageTarget_Server extends BridgeMessageTarget {
|
||||
const BridgeMessageTarget_Server(): super._();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1387,7 +1387,7 @@ String toString() {
|
||||
|
||||
class BridgeMessageTarget_Channel extends BridgeMessageTarget {
|
||||
const BridgeMessageTarget_Channel(): super._();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1419,7 +1419,7 @@ String toString() {
|
||||
|
||||
class BridgeMessageTarget_Client extends BridgeMessageTarget {
|
||||
const BridgeMessageTarget_Client(this.field0): super._();
|
||||
|
||||
|
||||
|
||||
final BigInt field0;
|
||||
|
||||
@@ -1485,7 +1485,7 @@ as BigInt,
|
||||
|
||||
class BridgeMessageTarget_Poke extends BridgeMessageTarget {
|
||||
const BridgeMessageTarget_Poke(this.field0): super._();
|
||||
|
||||
|
||||
|
||||
final BigInt field0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user