HttpStatus class Null safety

Constructors

HttpStatus(int? code)

Properties

code int?
final
connectionError bool
read-only
hasError bool
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
isForbidden bool
read-only
isNotFound bool
read-only
isOk bool
read-only
isServerError bool
read-only
isUnauthorized bool
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

between(int begin, int end) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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
202
alreadyReported → const int
208
badGateway → const int
502
badRequest → const int
400
clientClosedRequest → const int
499
conflict → const int
409
connectionClosedWithoutResponse → const int
444
continue_ → const int
100
created → const int
201
earlyHints → const int
103
expectationFailed → const int
417
failedDependency → const int
424
forbidden → const int
403
found → const int
302
gatewayTimeout → const int
504
gone → const int
410
httpVersionNotSupported → const int
505
imATeapot → const int
418
imUsed → const int
226
insufficientStorage → const int
507
internalServerError → const int
500
lengthRequired → const int
411
locked → const int
423
loopDetected → const int
508
methodNotAllowed → const int
405
misdirectedRequest → const int
421
movedPermanently → const int
301
movedTemporarily → const int
302
multipleChoices → const int
300
multiStatus → const int
207
networkAuthenticationRequired → const int
511
networkConnectTimeoutError → const int
599
noContent → const int
204
nonAuthoritativeInformation → const int
203
notAcceptable → const int
406
notExtended → const int
510
notFound → const int
404
notImplemented → const int
501
notModified → const int
304
ok → const int
200
partialContent → const int
206
paymentRequired → const int
402
permanentRedirect → const int
308
preconditionFailed → const int
412
preconditionRequired → const int
428
processing → const int
102
proxyAuthenticationRequired → const int
407
requestedRangeNotSatisfiable → const int
416
requestEntityTooLarge → const int
413
requestHeaderFieldsTooLarge → const int
431
requestTimeout → const int
408
requestUriTooLong → const int
414
resetContent → const int
205
seeOther → const int
303
serviceUnavailable → const int
503
switchingProtocols → const int
101
switchProxy → const int
306
temporaryRedirect → const int
307
tooEarly → const int
425
tooManyRequests → const int
429
unauthorized → const int
401
unavailableForLegalReasons → const int
451
unprocessableEntity → const int
422
unsupportedMediaType → const int
415
upgradeRequired → const int
426
useProxy → const int
305
variantAlsoNegotiates → const int
506