WebPage class

Web Page.

ID: e89c45b2.

Inheritance

Constructors

WebPage({required bool hasLargeMedia, required bool videoCoverPhoto, required int id, required String url, required String displayUrl, required int hash, String? type, String? siteName, String? title, String? description, PhotoBase? photo, String? embedUrl, String? embedType, int? embedWidth, int? embedHeight, int? duration, String? author, DocumentBase? document, PageBase? cachedPage, List<WebPageAttributeBase>? attributes})
Web Page constructor.
const
WebPage.deserialize(BinaryReader reader)
Deserialize.
factory

Properties

attributes → List<WebPageAttributeBase>?
Attributes.
final
author → String?
Author.
final
cachedPage → PageBase?
Cached Page.
final
description → String?
Description.
final
displayUrl → String
Display Url.
final
document → DocumentBase?
Document.
final
duration → int?
Duration.
final
embedHeight → int?
Embed Height.
final
embedType → String?
Embed Type.
final
embedUrl → String?
Embed Url.
final
embedWidth → int?
Embed Width.
final
flags → int
Flags.
no setter
hash → int
Hash.
final
hashCode → int
The hash code for this object.
no setterinherited
hasLargeMedia → bool
has_large_media: bit 13 of flags.13?true
final
id → int
Id.
final
photo → PhotoBase?
Photo.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
siteName → String?
Site Name.
final
title → String?
Title.
final
type → String?
Type.
final
url → String
Url.
final
videoCoverPhoto → bool
video_cover_photo: bit 14 of flags.14?true
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(List<int> buffer) → void
Serialize.
override
toJson() → Map<String, dynamic>
Converts an object to JSON.
override
toString() → String
A string representation of this object.
inherited

Operators

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