AppException constructor

const AppException(
  1. ErrorType type, {
  2. String? message,
})

Implementation

const AppException(
  this.type, {
  this.message,
});