asErrorModel method
Implementation
ErrorModel asErrorModel() => this is ErrorModel
? this as ErrorModel
: UnknownErrorModel(exception: this);
ErrorModel asErrorModel() => this is ErrorModel
? this as ErrorModel
: UnknownErrorModel(exception: this);