Reachability class
Constructors
- Reachability({bool? configured, String? env, String? error, bool? reachable, String? registrar, String? service, String? status})
- Returns a new Reachability instance.
Properties
- configured ↔ bool?
-
Configured is whether the wholesale credentials are present at all.
getter/setter pair
- env ↔ String?
-
Env is the registrar environment. It is the fact that decides whether money moves: only "prod" reaches the live, billable registrar — anything else, including unset, is the sandbox.
getter/setter pair
- error ↔ String?
-
Error is the blocker, so an operator reads it instead of guessing at it.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- reachable ↔ bool?
-
Reachable is whether the registrar accepted those credentials on a live call made while the caller waited.
getter/setter pair
- registrar ↔ String?
-
Registrar names the wholesale registrar behind it.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- service ↔ String?
-
Service names the subsystem answering.
getter/setter pair
- status ↔ String?
-
Status is "ok" when a live call succeeded, else "degraded".
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → Reachability? -
Returns a new Reachability instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< Reachability> -
mapFromJson(
dynamic json) → Map< String, Reachability> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< Reachability> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.