AuthException constructor

AuthException(
  1. Object reason,
  2. Webservice webservice, {
  3. String message(
    1. Object reason,
    2. Webservice
    )?,
})

An exception thrown when AuthService.authenticate fails.

Implementation

AuthException(this.reason, this.webservice, {String Function(Object reason, Webservice)? message}) {
  this.message = message ?? _defaultMessage;
}