PeekDesktopLinkState class final
A link's status and the desktop it concerns, for the screen to show.
- Annotations
Constructors
- PeekDesktopLinkState({required PeekDesktopLinkStatus status, String? desktopName, String? message, PeekDesktopDenial? denial, PeekDesktopFailure? failure, bool isPaired = false, String? host, int? port})
-
Creates the state.
const
Properties
- denial → PeekDesktopDenial?
-
The kind of refusal behind message.
final
- desktopName → String?
-
The desktop as a person knows it — its name, or its address — when
one is known.
final
- failure → PeekDesktopFailure?
-
Why the desktop could not be reached, while status is
PeekDesktopLinkStatus.waiting.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- host → String?
-
Where the desktop listens, when the link knows.
final
- isPaired → bool
-
Whether the desktop has let the app in, so it will again without a
code.
final
- message → String?
-
Why the desktop turned the app away, while status is
PeekDesktopLinkStatus.denied.
final
- port → int?
-
The port it listens on, beside host.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → PeekDesktopLinkStatus
-
Where the link stands.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override