ChromeHistory class
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAvailable → bool
-
no setter
-
onVisited
→ EventStream<
HistoryItem> -
Fired when a URL is visited, providing the HistoryItem data for that URL.
This event fires before the page has loaded.
no setter
-
onVisitRemoved
→ EventStream<
OnVisitRemovedRemoved> -
Fired when one or more URLs are removed from the history service. When
all visits have been removed the URL is purged from history.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addUrl(
UrlDetails details) → Future< void> - Adds a URL to the history at the current time with a transition type of "link".
-
deleteAll(
) → Future< void> - Deletes all items from the history.
-
deleteRange(
DeleteRangeRange range) → Future< void> - Removes all items within the specified date range from the history. Pages will not be removed from the history unless all visits fall within the range.
-
deleteUrl(
UrlDetails details) → Future< void> - Removes all occurrences of the given URL from the history.
-
getVisits(
UrlDetails details) → Future< List< VisitItem> > - Retrieves information about visits to a URL.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
search(
SearchQuery query) → Future< List< HistoryItem> > - Searches the history for the last visit time of each page matching the query.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited