dispose method
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();
}
Method dispose
Closes the controller,cancels the _subscription
and disconnect from
Hasura
@mustCallSuper
Future dispose() async {
await controller.close();
await _subscription.cancel();
await disconnect();
}