RequestWillBeSentEvent class

Constructors

RequestWillBeSentEvent({required RequestId requestId, required LoaderId loaderId, required String documentURL, required RequestData request, required MonotonicTime timestamp, required TimeSinceEpoch wallTime, required Initiator initiator, required bool redirectHasExtraInfo, ResponseData? redirectResponse, ResourceType? type, FrameId? frameId, bool? hasUserGesture})
RequestWillBeSentEvent.fromJson(Map<String, dynamic> json)
factory

Properties

documentURL String
URL of the document this request is loaded for.
final
frameId FrameId?
Frame identifier.
final
hashCode int
The hash code for this object.
no setterinherited
hasUserGesture bool?
Whether the request is initiated by a user gesture. Defaults to false.
final
initiator Initiator
Request initiator.
final
loaderId LoaderId
Loader identifier. Empty string if the request is fetched from worker.
final
redirectHasExtraInfo bool
In the case that redirectResponse is populated, this flag indicates whether requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be or were emitted for the request which was just redirected.
final
redirectResponse ResponseData?
Redirect response data.
final
request RequestData
Request data.
final
requestId RequestId
Request identifier.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp MonotonicTime
Timestamp.
final
type ResourceType?
Type of this resource.
final
wallTime TimeSinceEpoch
Timestamp.
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