LikeConnectivityTransition class
Describes a meaningful reachability transition for one canonical API origin.
Origins use the canonical scheme://host:effectivePort form produced by
LikeConnectivityManager.canonicalOrigin.
Constructors
- LikeConnectivityTransition({required String origin, required bool? previousAvailability, required bool? availability, required DateTime timestamp})
-
const
Properties
- availability → bool?
-
Newly observed reachability, or
nullwhen it became unknown.final -
Whether this transition reports that the origin became unavailable.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isRestoration → bool
-
Whether this is an exact unavailable-to-available restoration.
no setter
- origin → String
-
Canonical origin whose reachability changed.
final
- previousAvailability → bool?
-
Previously known reachability, or
nullwhen it was unknown.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → DateTime
-
Time at which the transition was recorded.
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.
inherited