dispose method

  1. @mustCallSuper
Future dispose()

Method dispose Closes the controller,cancels the _subscription and disconnect from Hasura

Implementation

@mustCallSuper
Future dispose() async {
  await controller.close();
  await _subscription.cancel();
  await disconnect();
}