HealthPlane class

Constructors

HealthPlane({String? bus, bool? ready, String? reason, String? stream})
Returns a new HealthPlane instance.

Properties

bus ↔ String?
Bus is the address this process reaches the plane at.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
ready ↔ bool?
Ready reports whether an ingest would succeed right now. False is a 503.
getter/setter pair
reason ↔ String?
Reason is the plane's own failure text, present only when Ready is false.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stream ↔ String?
Stream is the JetStream stream every signal lands on.
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) → HealthPlane?
Returns a new HealthPlane instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<HealthPlane>
mapFromJson(dynamic json) → Map<String, HealthPlane>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<HealthPlane>>

Constants

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