ApiException constructor

const ApiException({
  1. required String message,
  2. int? code,
  3. StackTrace? stackTrace,
})

Base class for all API exceptions.

Implementation

const ApiException({
  required this.message,
  this.code,
  this.stackTrace,
});