callAsyncLoader method

Future<T> callAsyncLoader(
  1. Future<T> futureFunction, {
  2. Widget? customLoader,
})

Implementation

Future<T> callAsyncLoader(Future<T> futureFunction,
    {Widget? customLoader}) async {
  return await asyncState.callAsyncLoader(
    futureFunction,
    customLoader: customLoader,
  );
}