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({int? entryId, int? index, int? offset, WebUri? originalUrl, String? title, WebUri? url})

Properties

entryId ↔ int?
Unique id of the navigation history entry.
getter/setter pair
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 ↔ WebUri?
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 ↔ WebUri?
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>
Converts instance to a map.
toMap() → Map<String, dynamic>
Converts instance to a map.
toString() → String
A string representation of this object.
override

Operators

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

Static Methods

fromMap(Map<String, dynamic>? map) → WebHistoryItem?
Gets a possible WebHistoryItem instance from a Map value.