GetFrameCallbackDetails constructor
GetFrameCallbackDetails({})
Implementation
GetFrameCallbackDetails({
/// True if the last navigation in this frame was interrupted by an error,
/// i.e. the onErrorOccurred event fired.
required bool errorOccurred,
/// The URL currently associated with this frame, if the frame identified by
/// the frameId existed at one point in the given tab. The fact that an URL
/// is associated with a given frameId does not imply that the corresponding
/// frame still exists.
required String url,
/// The ID of the parent frame, or `-1` if this is the main frame.
required int parentFrameId,
/// A UUID of the document loaded.
required String documentId,
/// A UUID of the parent document owning this frame. This is not set if
/// there is no parent.
String? parentDocumentId,
/// The lifecycle the document is in.
required DocumentLifecycle documentLifecycle,
/// The type of frame the navigation occurred in.
required FrameType frameType,
}) : _wrapped = $js.GetFrameCallbackDetails(
errorOccurred: errorOccurred,
url: url,
parentFrameId: parentFrameId,
documentId: documentId,
parentDocumentId: parentDocumentId,
documentLifecycle: documentLifecycle.toJS,
frameType: frameType.toJS,
);