future property
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;
}
Obtains the Future associated to this provider.
This is equivalent to doing ref.read(myProvider.future)
.
See also FutureProvider.future.
@override
Future<T> get future {
flush();
return futureNotifier.value;
}