SocketException 构造函数

const SocketException(
  1. String message,
  2. {OSError? osError,
  3. InternetAddress? address,
  4. int? port}
)

使用提供的值创建一个 SocketException

实现

const SocketException(this.message, {this.osError, this.address, this.port});