ConnectException constructor

ConnectException(
  1. String msg, {
  2. required ConnectionErrorReason reason,
  3. int statusCode = 0,
})

Implementation

ConnectException(
  String msg, {
  required this.reason,
  this.statusCode = 0,
}) : super._(msg);