StatusCode enum

Inheritance
Implemented types

Constructors

StatusCode({required int value})
const

Values

none → const StatusCode
const StatusCode(value: 0)
ok → const StatusCode
const StatusCode(value: 200)
badRequest → const StatusCode
const StatusCode(value: 400)
unauthorized → const StatusCode
const StatusCode(value: 401)
paymentRequired → const StatusCode
const StatusCode(value: 402)
forbidden → const StatusCode
const StatusCode(value: 403)
notFound → const StatusCode
const StatusCode(value: 404)
methodNotAllowed → const StatusCode
const StatusCode(value: 405)
oauthRequired → const StatusCode
const StatusCode(value: 407)
conflict → const StatusCode
const StatusCode(value: 409)
gone → const StatusCode
const StatusCode(value: 410)
tooManyRequests → const StatusCode
const StatusCode(value: 429)
internalServerError → const StatusCode
const StatusCode(value: 500)
serviceUnavailable → const StatusCode
const StatusCode(value: 503)
versionNotSupported → const StatusCode
const StatusCode(value: 505)
localSdkError → const StatusCode
const StatusCode(value: 600)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
final

Methods

compareTo(StatusCode other) int
Compares this object to another object.
override
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

values → const List<StatusCode>
A constant List of the values in this enum, in order of their declaration.