PeekDesktopFound class final

A desktop viewer heard on the local network.

Annotations

Constructors

PeekDesktopFound({required String name, required String host, required int port, String? serverId, bool isPaired = false, bool isCompatible = true})
Creates the record.
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
host → String
The address to connect to.
final
isCompatible → bool
Whether it speaks the app's protocol; one that does not would turn the app away.
final
isPaired → bool
Whether the app holds a token from this desktop, so no code is needed.
final
name → String
The name the desktop goes by on the network.
final
port → int
The port it listens on.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serverId → String?
The desktop's id, when it announces one; pairs it with a token held from before.
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