FutureCallBack typedef Null safety

FutureCallBack = Future<bool> Function()

return true is refresh success

return false or null is fail

Implementation

typedef Future<bool> FutureCallBack();