WebHistoryItem class

A convenience class for accessing fields in an entry in the back/forward list of a WebView. Each WebHistoryItem is a snapshot of the requested history item.

Constructors

WebHistoryItem({Uri? originalUrl, String? title, Uri? url, int? index, int? offset})

Properties

hashCode int
The hash code for this object.
no setterinherited
index int?
0-based position index in the back-forward WebHistory.list.
getter/setter pair
offset int?
Position offset respect to the currentIndex of the back-forward WebHistory.list.
getter/setter pair
originalUrl Uri?
Original url of this history item.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
Document title of this history item.
getter/setter pair
url Uri?
Url of this history item.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited