update method

  1. @override
void update(
  1. T newState
)
override

Updates the state and triggers change notification.

Implementation

@override
void update(T newState) {
  _notifier.value = newState;
}