SecureFile class

Secure File.

ID: 7d09c27e.

Inheritance

Constructors

SecureFile({required int id, required int accessHash, required int size, required int dcId, required DateTime date, required Uint8List fileHash, required Uint8List secret})
Secure File constructor.
const
SecureFile.deserialize(BinaryReader reader)
Deserialize.
factory

Properties

accessHash → int
Access Hash.
final
date → DateTime
Date.
final
dcId → int
Dc Id.
final
fileHash → Uint8List
File Hash.
final
hashCode → int
The hash code for this object.
no setterinherited
id → int
Id.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secret → Uint8List
Secret.
final
size → int
Size.
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