CallbackHealthCheck class final
Closure-based check (HealthCheck.of('queue', () async => ...)).
- Implemented types
Constructors
-
CallbackHealthCheck(String name, FutureOr<
HealthResult> _check()) -
A check named
namerunning a callback.const
Properties
Methods
-
check(
) → Future< HealthResult> -
Runs the check.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited