KmsHealth class

Constructors

KmsHealth({String? error, bool? ready, String? service, bool? signing, String? status})
Returns a new KmsHealth instance.

Properties

error ↔ String?
Error is the honest reason readiness is false: no in-process KMS client, or no master key. Absent when ready.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
ready ↔ bool?
Ready is whether a secret operation would actually succeed right now. These are exactly the two states in which the secret operations refuse.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
service ↔ String?
Service names the subsystem answering, kms.
getter/setter pair
signing ↔ bool?
Signing reports whether signing keys are configured. Absent when there is no in-process client to ask.
getter/setter pair
status ↔ String?
Status is ok or degraded, the one-word form of Ready.
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) → KmsHealth?
Returns a new KmsHealth instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<KmsHealth>
mapFromJson(dynamic json) → Map<String, KmsHealth>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<KmsHealth>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.