BadRequest class abstract

Implemented types

Constructors

BadRequest()
const
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<TResult extends Object?>({required TResult requestCancelled(RequestCancelled value), required TResult unauthorizedRequest(UnauthorizedRequest value), required TResult badRequest(BadRequest value), required TResult notFound(NotFound value), required TResult methodNotAllowed(MethodNotAllowed value), required TResult notAcceptable(NotAcceptable value), required TResult requestTimeout(RequestTimeout value), required TResult sendTimeout(SendTimeout value), required TResult conflict(Conflict value), required TResult internalServerError(InternalServerError value), required TResult notImplemented(NotImplemented value), required TResult serviceUnavailable(ServiceUnavailable value), required TResult noInternetConnection(NoInternetConnection value), required TResult formatException(FormatException value), required TResult unableToProcess(UnableToProcess value), required TResult defaultError(DefaultError value), required TResult unexpectedError(UnexpectedError value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult requestCancelled(RequestCancelled value)?, TResult unauthorizedRequest(UnauthorizedRequest value)?, TResult badRequest(BadRequest value)?, TResult notFound(NotFound value)?, TResult methodNotAllowed(MethodNotAllowed value)?, TResult notAcceptable(NotAcceptable value)?, TResult requestTimeout(RequestTimeout value)?, TResult sendTimeout(SendTimeout value)?, TResult conflict(Conflict value)?, TResult internalServerError(InternalServerError value)?, TResult notImplemented(NotImplemented value)?, TResult serviceUnavailable(ServiceUnavailable value)?, TResult noInternetConnection(NoInternetConnection value)?, TResult formatException(FormatException value)?, TResult unableToProcess(UnableToProcess value)?, TResult defaultError(DefaultError value)?, TResult unexpectedError(UnexpectedError value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult requestCancelled(RequestCancelled value)?, TResult unauthorizedRequest(UnauthorizedRequest value)?, TResult badRequest(BadRequest value)?, TResult notFound(NotFound value)?, TResult methodNotAllowed(MethodNotAllowed value)?, TResult notAcceptable(NotAcceptable value)?, TResult requestTimeout(RequestTimeout value)?, TResult sendTimeout(SendTimeout value)?, TResult conflict(Conflict value)?, TResult internalServerError(InternalServerError value)?, TResult notImplemented(NotImplemented value)?, TResult serviceUnavailable(ServiceUnavailable value)?, TResult noInternetConnection(NoInternetConnection value)?, TResult formatException(FormatException value)?, TResult unableToProcess(UnableToProcess value)?, TResult defaultError(DefaultError value)?, TResult unexpectedError(UnexpectedError value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult requestCancelled()?, TResult unauthorizedRequest()?, TResult badRequest()?, TResult notFound(String reason)?, TResult methodNotAllowed()?, TResult notAcceptable()?, TResult requestTimeout()?, TResult sendTimeout()?, TResult conflict()?, TResult internalServerError()?, TResult notImplemented()?, TResult serviceUnavailable()?, TResult noInternetConnection()?, TResult formatException()?, TResult unableToProcess()?, TResult defaultError(String error)?, TResult unexpectedError()?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult requestCancelled(), required TResult unauthorizedRequest(), required TResult badRequest(), required TResult notFound(String reason), required TResult methodNotAllowed(), required TResult notAcceptable(), required TResult requestTimeout(), required TResult sendTimeout(), required TResult conflict(), required TResult internalServerError(), required TResult notImplemented(), required TResult serviceUnavailable(), required TResult noInternetConnection(), required TResult formatException(), required TResult unableToProcess(), required TResult defaultError(String error), required TResult unexpectedError()}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult requestCancelled()?, TResult unauthorizedRequest()?, TResult badRequest()?, TResult notFound(String reason)?, TResult methodNotAllowed()?, TResult notAcceptable()?, TResult requestTimeout()?, TResult sendTimeout()?, TResult conflict()?, TResult internalServerError()?, TResult notImplemented()?, TResult serviceUnavailable()?, TResult noInternetConnection()?, TResult formatException()?, TResult unableToProcess()?, TResult defaultError(String error)?, TResult unexpectedError()?}) → TResult?
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited