read property

  1. @protected
Locator read

A function that allows obtaining other objects.

It is typically equivalent to Provider.of(context, listen: false) when using provider, but it could also be GetIt.get for example.

DON'T modify read manually.
The only reason why read is not final is so that it can be initialized by providers from flutter_notifier.

May throw a DependencyNotFoundException if the looked-up type is not found.


Locator get read {
  assert(_debugIsNotifierMounted(), '');
  return _locator;
void read=(Locator read)


set read(Locator read) {
  assert(_debugIsNotifierMounted(), '');
  _locator = read;