ServerHandle class
The published announcement: one JSON file per live server process.
baseUrl and environment are mirrored in from the server's
self-description (FlutterwareServer.info) so scan-only readers —
fw status, the GUI rail — can say where a server listens without
opening a socket. The mirror is a convenience copy: the info channel
stays the source of truth, and a handle written before the server
described itself simply lacks them.
Constructors
Properties
- baseUrl → String?
-
final
- environment → String?
-
final
- handlePath → String?
-
Where this handle was read from — null on the publishing side.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
final
- pid → int
-
final
- projectRoot → String
-
final
- protocol → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- socketPath → String
-
final
- startedAt → DateTime
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
tryRead(
File file) → ServerHandle?