menu
cowpay package
documentation
core/packages/dartz/dartz.dart
Task<A>
sleep static method
sleep static method
dark_mode
light_mode
sleep
static method
Task
<
void
>
sleep
(
Duration
duration
)
Implementation
static Task<void> sleep(Duration duration) => Task(() => Future.delayed(duration));
cowpay package
documentation
core/packages/dartz/dartz
Task<A>
sleep static method
Task class