HealthCheck constructor

HealthCheck({
  1. required String? name,
  2. String? message,
  3. List<HealthCheck>? checks = const [],
  4. required HealthCheckStatusEnum? status,
  5. String? version,
  6. String? commit,
})

Returns a new HealthCheck instance.

Implementation

HealthCheck({
  required this.name,
  this.message,
  this.checks = const [],
  required this.status,
  this.version,
  this.commit,
});