closeSocket static method
Implementation
static Future<void> closeSocket(SecureSocket? socket) async {
await socket?.flush();
await socket?.close();
}
static Future<void> closeSocket(SecureSocket? socket) async {
await socket?.flush();
await socket?.close();
}