Since you didn't put any code, so as far as I can tell, you are using () which is returning Null, and you were supposed to use (dynamic value) returning Future in your method declaration somewhere in your code.
()
(dynamic value)
Future