menu
cowpay package
documentation
core/packages/dartz/dartz.dart
Task<A>
fail method
fail method
dark_mode
light_mode
fail
method
@
override
Task
<
A
>
fail
(
Object
err
)
override
Implementation
@override Task<A> fail(Object err) => new Task(() => new Future.error(err));
cowpay package
documentation
core/packages/dartz/dartz
Task<A>
fail method
Task class