VisitItem constructor
VisitItem({})
Implementation
VisitItem({
/// The unique identifier for the corresponding [history.HistoryItem].
required String id,
/// The unique identifier for this visit.
required String visitId,
/// When this visit occurred, represented in milliseconds since the epoch.
double? visitTime,
/// The visit ID of the referrer.
required String referringVisitId,
/// The [transition type](#transition_types) for this visit from its
/// referrer.
required TransitionType transition,
/// True if the visit originated on this device. False if it was synced from
/// a different device.
required bool isLocal,
}) : _wrapped = $js.VisitItem(
id: id,
visitId: visitId,
visitTime: visitTime,
referringVisitId: referringVisitId,
transition: transition.toJS,
isLocal: isLocal,
);