SbomHealth class
Constructors
- SbomHealth({bool? datastore, String? service, String? status, String? table})
- Returns a new SbomHealth instance.
Properties
- datastore ↔ bool?
-
Datastore reports whether the shared datastore connection this subsystem reads and writes through is established. False means the data endpoints answer 503.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- service ↔ String?
-
Service names the subsystem answering: always "sbom".
getter/setter pair
- status ↔ String?
-
Status is the liveness verdict: always "ok" here, because the process answering at all IS the liveness fact.
getter/setter pair
- table ↔ String?
-
Table is the fully-qualified datastore table the components live in.
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) → SbomHealth? -
Returns a new SbomHealth instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< SbomHealth> -
mapFromJson(
dynamic json) → Map< String, SbomHealth> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< SbomHealth> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.