delay static method
Implementation
static void delay(Duration duration, AsyncVoidTask task) async{
Future.delayed(duration, (){
return task();
});
}
static void delay(Duration duration, AsyncVoidTask task) async{
Future.delayed(duration, (){
return task();
});
}