WebDocument class
Web Document.
ID: 1c570ed1
.
- Inheritance
-
- Object
- TlObject
- TlConstructor
- WebDocumentBase
- WebDocument
Constructors
-
WebDocument({required String url, required int accessHash, required int size, required String mimeType, required List<
DocumentAttributeBase> attributes}) -
Web Document constructor.
const
- WebDocument.deserialize(BinaryReader reader)
-
Deserialize.
factory
Properties
- accessHash → int
-
Access Hash.
final
-
attributes
→ List<
DocumentAttributeBase> -
Attributes.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mimeType → String
-
Mime Type.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int
-
Size.
final
- url → String
-
Url.
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