APIException constructor

APIException(
  1. String? error, {
  2. dynamic data = '',
  3. int statusCode = -1,
})

Implementation

APIException(this.error, {this.data = '', this.statusCode = -1});