BaseError constructor

const BaseError({
  1. required String message,
  2. StackTrace? stackTrace,
})

Base class for all errors in the app.

Implementation

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