RequestLog class

Request log model

Constructors

RequestLog({required String timestamp, required String method, required String path, required String remoteAddr, required String userAgent, required String contentType, required Map<String, String> headers, required Map<String, String> query, required String body, required int statusCode, required int durationMs})
RequestLog.fromJson(Map<String, dynamic> json)
factory

Properties

body String
final
contentType String
final
durationMs int
final
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>
final
method String
final
path String
final
query Map<String, String>
final
remoteAddr String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int
final
timestamp String
final
userAgent String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited