NetLensHttpStatus class

Explains HTTP status codes in supported languages. English is used when language or code is not translated.

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

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

Static Methods

get({required int? status, required String languageCode}) → NetLensHttpStatusInfo?
Returns name and explanation of status for languageCode, or null when the code is not known.
getCategory(int? status) → NetLensHttpStatusCategory
Returns category of status.