Document class

Document.

ID: 8fd4c4d8.

Inheritance

Constructors

Document({required int id, required int accessHash, required Uint8List fileReference, required DateTime date, required String mimeType, required int size, List<PhotoSizeBase>? thumbs, List<VideoSizeBase>? videoThumbs, required int dcId, required List<DocumentAttributeBase> attributes})
Document constructor.
const
Document.deserialize(BinaryReader reader)
Deserialize.
factory

Properties

accessHash int
Access Hash.
final
attributes List<DocumentAttributeBase>
Attributes.
final
date DateTime
Date.
final
dcId int
Dc Id.
final
fileReference Uint8List
File Reference.
final
flags int
Flags.
no setter
hashCode int
The hash code for this object.
no setterinherited
id int
Id.
final
mimeType String
Mime Type.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
Size.
final
thumbs List<PhotoSizeBase>?
Thumbs.
final
videoThumbs List<VideoSizeBase>?
Video Thumbs.
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