BaseException constructor
BaseException({
- bool silent = false,
- List<
String> messages = const [], - DioException? exception,
Creates a new instance of BaseException.
The silent
parameter indicates whether the exception should be treated
as silent. The messages
parameter allows the user to provide a list
of error messages, and the exception
parameter can hold a DioException
if available.
Implementation
BaseException({
this.silent = false,
this.messages = const [],
this.exception,
});