HealthResponse.alive constructor
HealthResponse.alive()
Creates a minimal passing response (for /livez).
Implementation
factory HealthResponse.alive() {
return HealthResponse(
status: HealthStatus.pass,
checks: const {},
time: DateTime.now().toUtc(),
);
}