BridgeConfig class
Bridge configuration and state management.
Constructors
Properties
- connected ↔ bool
-
Whether bridge is currently connected.
getter/setter pair
- connectUrl ↔ String?
-
The connect URL (for QR code display).
getter/setter pair
- displayUrl → String?
-
The display URL (session URL if active, otherwise connect URL).
no setter
- enabled ↔ bool
-
Whether bridge is enabled.
getter/setter pair
- explicit ↔ bool
-
Whether bridge was explicitly enabled by user (vs. auto).
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialName ↔ String?
-
Initial session name (if provided via
/remote-control <name>).getter/setter pair - outboundOnly ↔ bool
-
Whether bridge is in outbound-only mode.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sessionActive ↔ bool
-
Whether session is active (has a session URL).
getter/setter pair
- sessionUrl ↔ String?
-
The session URL (when session is active).
getter/setter pair
Methods
-
disconnect(
) → void - Reset to disconnected state.
-
enable(
{String? name}) → void - Enable bridge for connection.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited