toHttpStatusUserMessage property
String
get
toHttpStatusUserMessage
Returns the user-friendly HTTP status message associated with the number. If the status code is not found, it returns "Not Found".
Implementation
String get toHttpStatusUserMessage {
final statusCode = _asHttpStatusCode(this);
return statusCode == null
? 'Not Found'
: (httpStatusUserMessage[statusCode] ?? 'Not Found');
}