close method

Future close({
  1. bool force = false,
})

Implementation

Future close({bool force = false}) {
  _socketDic.forEach((key, socket) {
    socket.close();
  });
  return _controller.close();
}