close method
Close the connection and controller.
Implementation
Future<void> close() async {
try {
await _sub?.cancel();
} on Object {}
await _controller.close();
}
Close the connection and controller.
Future<void> close() async {
try {
await _sub?.cancel();
} on Object {}
await _controller.close();
}