dispose method

Future<Null> dispose()

dispose removes closes both the dispatch and subscription stream

Implementation

Future<Null> dispose() async {
  await _stateController.close();
}