close method Null safety
Before execution finished the websocket needs to be closed
Implementation
Future<void> close() async {
await channel.sink.close(status.goingAway);
}
Before execution finished the websocket needs to be closed
Future<void> close() async {
await channel.sink.close(status.goingAway);
}