Flutter : How to declare async function as a variable in Dart?

Viewed 30

I wanted to declare async function as a variable in Dart? How I can achieve this ?

1 Answers
Future<void> Function() myAsyncFunc; 
Future<void> anotherAsyncFunc() async => print('solution'); 
Related