Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
251 B
1
Indexable
Never
void main(){
  task1();
  task2();
  task3();
  
}
void task1() {
  print('task1');
}
void task2() async{
  print('task2.1');
  
  await Future.delayed(Duration(seconds: 3));
  print('task2.2');
}
void task3(){
  print('task3');
}
  
Leave a Comment