StatusCode class

Constructors

StatusCode(int value)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
isFailed bool
True for failed requests (i.e. neither successful nor pending)
no setter
isPending bool
True for the requests processed asynchronously. @see https://jsonapi.org/recommendations/#asynchronous-processing).
no setter
isSuccessful bool
True for successfully processed requests
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

accepted → const int
badRequest → const int
created → const int
methodNotAllowed → const int
noContent → const int
notFound → const int
ok → const int