NetworkRequestLog class

Client-independent request details passed to NetworkLogger.

Constructors

NetworkRequestLog({required String method, required Uri url, Map<String, Object?> headers = const {}, Object? body, DateTime? startedAt, String? id, bool loggingDisabled = false, bool? enabled, List<NetworkMultipartPart> multipartParts = const []})

Properties

body → Object?
final
enabled → bool
no setter
hashCode → int
The hash code for this object.
no setterinherited
headers → Map<String, Object?>
final
id → String?
final
loggingDisabled → bool
final
method → String
final
multipartParts → List<NetworkMultipartPart>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
startedAt → DateTime
final
url → Uri
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