O11yAvailabilityPoint class

Constructors

O11yAvailabilityPoint({String? t, int? total, int? up})
Returns a new O11yAvailabilityPoint instance.

Properties

hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
t ↔ String?
T is the bucket start, RFC3339 in UTC.
getter/setter pair
total ↔ int?
Total is how many services reported at all inside the bucket. It can be lower than the current total: a target added last week reported nothing the week before, and saying so is the point.
getter/setter pair
up ↔ int?
Up is how many services were up at the end of the bucket.
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) → O11yAvailabilityPoint?
Returns a new O11yAvailabilityPoint instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<O11yAvailabilityPoint>
mapFromJson(dynamic json) → Map<String, O11yAvailabilityPoint>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<O11yAvailabilityPoint>>

Constants

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