RegistryStatus class
Constructors
- RegistryStatus({String? host, bool? oci, bool? pkg, String? pkgHost, String? realm, String? service})
- Returns a new RegistryStatus instance.
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- host ↔ String?
-
Host is the OCI registry host clients push to and pull from.
getter/setter pair
- oci ↔ bool?
-
Oci is true when the OCI registry answered its /v2/ probe.
getter/setter pair
- pkg ↔ bool?
-
Pkg is true when the npm registry answered its ping.
getter/setter pair
- pkgHost ↔ String?
-
PkgHost is the npm registry host.
getter/setter pair
- realm ↔ String?
-
Realm is the token endpoint the OCI registry's challenge advertises, present only when the registry is reachable and auth-gated.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- service ↔ String?
-
Service is the token service name from the same challenge.
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) → RegistryStatus? -
Returns a new RegistryStatus instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< RegistryStatus> -
mapFromJson(
dynamic json) → Map< String, RegistryStatus> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< RegistryStatus> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.