ConnectionError constructor

ConnectionError(
  1. String message, {
  2. Exception? originalException,
  3. int? code = -1,
})

Implementation

ConnectionError(
  String message, {
  this.originalException,
  super.code = -1,
}) : super(
        error: 'ConnectionError',
        message: message,
      );