WebHistoryItem class Null safety

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. [...]
read-only, inherited
index int?
0-based position index in the back-forward WebHistory.list.
read / write
offset int?
Position offset respect to the currentIndex of the back-forward WebHistory.list.
read / write
originalUrl Uri?
Original url of this history item.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
title String?
Document title of this history item.
read / write
url Uri?
Url of this history item.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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