Http class

Information about an HTTP request.

Constructors

Http({String? clientIp, String? httpMethod, int? httpStatus, String? httpURL, String? userAgent})
Http.fromJson(Map<String, dynamic> json)
factory

Properties

clientIp String?
The IP address of the requestor.
final
hashCode int
The hash code for this object.
no setterinherited
httpMethod String?
The request method.
final
httpStatus int?
The response status.
final
httpURL String?
The request URL.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userAgent String?
The request's user agent string.
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