close method

dynamic close()

Implementation

close() async {
  try{
    await _socket.close();
  }on Exception catch (e) {
    if (kDebugMode) {
      print(e);
    }
  }
}