@protected Future modifyState(Future Function(T state) modifier) async { if (_notifier.state == null) { await state; } modifier(_notifier.state); }