SocketException.closed 构造函数

const SocketException.closed()

创建一个报告套接字在关闭后被使用的异常。

实现

const SocketException.closed()
    : message = 'Socket has been closed',
      osError = null,
      address = null,
      port = null;