OnReferenceFragmentUpdatedDetails constructor
OnReferenceFragmentUpdatedDetails({
- required int tabId,
- required String url,
- required int processId,
- required int frameId,
- required int parentFrameId,
- required TransitionType transitionType,
- required List<
TransitionQualifier> transitionQualifiers, - required double timeStamp,
- required String documentId,
- String? parentDocumentId,
- required DocumentLifecycle documentLifecycle,
- required FrameType frameType,
Implementation
OnReferenceFragmentUpdatedDetails({
/// The ID of the tab in which the navigation occurs.
required int tabId,
required String url,
/// The ID of the process that runs the renderer for this frame.
required int processId,
/// 0 indicates the navigation happens in the tab content window; a positive
/// value indicates navigation in a subframe. Frame IDs are unique within a
/// tab.
required int frameId,
/// The ID of the parent frame, or `-1` if this is the main frame.
required int parentFrameId,
/// Cause of the navigation.
required TransitionType transitionType,
/// A list of transition qualifiers.
required List<TransitionQualifier> transitionQualifiers,
/// The time when the navigation was committed, in milliseconds since the
/// epoch.
required double timeStamp,
/// 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.OnReferenceFragmentUpdatedDetails(
tabId: tabId,
url: url,
processId: processId,
frameId: frameId,
parentFrameId: parentFrameId,
transitionType: transitionType.toJS,
transitionQualifiers: transitionQualifiers.toJSArray((e) => e.toJS),
timeStamp: timeStamp,
documentId: documentId,
parentDocumentId: parentDocumentId,
documentLifecycle: documentLifecycle.toJS,
frameType: frameType.toJS,
);