dart / 2 / dart-io / socketexception / socketexception.html

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});

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-io/SocketException/SocketException.html