menu
cowpay package
documentation
core/packages/dartz/dartz.dart
Task<A>
guarantee method
guarantee method
dark_mode
light_mode
guarantee
method
Task
<
A
>
guarantee
(
Task
<
void
>
finalizer
)
Implementation
Task<A> guarantee(Task<void> finalizer) => Task(() => _run().whenComplete(() => finalizer._run()));
cowpay package
documentation
core/packages/dartz/dartz
Task<A>
guarantee method
Task class