HealthCheck class

Constructors

HealthCheck({required String? name, String? message, List<HealthCheck>? checks = const [], required HealthCheckStatusEnum? status, String? version, String? commit})
Returns a new HealthCheck instance.

Properties

checks ↔ List<HealthCheck>?
getter/setter pair
commit ↔ String?
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
message ↔ String?
getter/setter pair
name ↔ String?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status ↔ HealthCheckStatusEnum?
getter/setter pair
version ↔ String?
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) → HealthCheck
Returns a new HealthCheck instance and imports
listFromJson(dynamic json, {bool? emptyIsNull, bool? growable}) → List<HealthCheck>?
mapFromJson(dynamic json) → Map<String, HealthCheck?>
mapListFromJson(dynamic json, {bool? emptyIsNull, bool? growable}) → Map<String, List<HealthCheck?>?>