SocketException constructor

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

Creates a SocketException with the provided values.

Implementation

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