WebPageInstantView class

Inheritance

Constructors

WebPageInstantView({List<PageBlock> pageBlocks, int viewCount, int version, bool isRtl, bool isFull})
Describes an instant view page for a web page
WebPageInstantView.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

extra ↔ dynamic
callback sign
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
isFull bool
isFull True, if the instant view contains the full page. A network request might be needed to get the full web page instant view
read / write
isRtl bool
isRtl True, if the instant view must be shown from right to left
read / write
pageBlocks List<PageBlock>
pageBlocks Content of the web page
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
version int
version Version of the instant view, currently can be 1 or 2
read / write
viewCount int
viewCount Number of the instant view views; 0 if unknown
read / write

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object. [...]
inherited

Operators

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

Constants

CONSTRUCTOR → const String
'webPageInstantView'