CancelWrapper typedef Null safety

CancelWrapper = Future Function(Future)

Implementation

typedef CancelWrapper = Future Function(Future);