Use RequestCreator typedef instead.
This name can be confused with the factory feature in Dart.
factory