dispatch method

void dispatch (
  1. Action action
)

Dispatch action to all observers of actionObservable. This method will throw a StateError if this is closed. A Dispatcher is closed after its dispose method is called. To see if a Dispatcher is closed use getter closed.

Implementation

void dispatch(Action action);