LikeConnectivityCheckResult class
Structured snapshot produced by a LIKE connectivity check.
Constructors
- LikeConnectivityCheckResult({required LikeConnectivityCheckReason reason, required bool hasNetworkInterface, required bool isInternetReachable, required bool? isServerAvailable, required String? origin, required DateTime timestamp})
-
const
Properties
- hasConnection → bool
-
Legacy-compatible combined online status.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasNetworkInterface → bool
-
Whether the platform reports at least one usable network interface.
final
- isInternetReachable → bool
-
Whether general internet reachability was established.
final
- isOnline → bool
-
Alias retained for callers using the manager's legacy naming.
no setter
- isServerAvailable → bool?
-
Reachability of origin, or
nullwhen it cannot be established safely.final - origin → String?
-
Canonical lower-case
scheme://host:effectivePort, if a server was checked.final - reason → LikeConnectivityCheckReason
-
Why this check was performed.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → DateTime
-
Time at which the result was produced.
final
Methods
-
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