OnGetUserById typedef
OnGetUserById =
Future<SuggestionAuthor?> Function(String id)
The function has Future<SuggestionAuthor?> return type and
takes 1 positional argument id
which is a String object.
The id
argument is an id of the author which we want to get.
Implementation
typedef OnGetUserById = Future<SuggestionAuthor?> Function(String id);