dispose method

Future<void> dispose()

Dispose of resources

Implementation

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