Hi I'm doing the excercise on chapter 7 (Unfortunately my ebook doesn't show the page no) and I get the following error in main.dart file on line 41: return completer.future (underlined red):
A value of type 'Future<dynamic>' can't be returned from the method 'getNumber' because it has a return type of 'Future<int>'.
How to turn the completer into type future?