add method

  1. @override
RemoveListener add(
  1. Listener<T> listener
)
override

Implementation

@override
RemoveListener add(Listener<T> listener) {
  return addListener((state) {
    if (state != null) {
      listener(state);
    }
  });
}