ErrorContext class
Context about the error for decision making.
Constructors
Properties
- batteryLevel → int?
-
Current battery level if available.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCharging → bool?
-
Whether device is charging.
final
- isTrackingActive → bool
-
Whether tracking is currently active.
final
- networkAvailable → bool?
-
Whether network is available.
final
- retryCount → int
-
Number of times this error has been retried.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeSinceFirstOccurrence → Duration?
-
Time since first occurrence of this error.
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