HistoryItem constructor

HistoryItem({
  1. required String id,
  2. String? url,
  3. String? title,
  4. double? lastVisitTime,
  5. int? visitCount,
  6. int? typedCount,
})

Implementation

HistoryItem({
  /// The unique identifier for the item.
  required String id,

  /// The URL navigated to by a user.
  String? url,

  /// The title of the page when it was last loaded.
  String? title,

  /// When this page was last loaded, represented in milliseconds since the
  /// epoch.
  double? lastVisitTime,

  /// The number of times the user has navigated to this page.
  int? visitCount,

  /// The number of times the user has navigated to this page by typing in the
  /// address.
  int? typedCount,
}) : _wrapped = $js.HistoryItem(
        id: id,
        url: url,
        title: title,
        lastVisitTime: lastVisitTime,
        visitCount: visitCount,
        typedCount: typedCount,
      );