ErrorState constructor
const
ErrorState(
- Object error, {
- String? message,
- StackTrace? stackTrace,
Creates an ErrorState with the given error
, optional message
, and stackTrace
.
Implementation
const ErrorState(this.error, {this.message, this.stackTrace});