future property

  1. @override
Future<T> get future
override

Obtains the Future associated to this provider.

This is equivalent to doing ref.read(myProvider.future). See also FutureProvider.future.

Implementation

@override
Future<T> get future {
  flush();
  return futureNotifier.value;
}