RemoteFile class

Represents a remote file.

Inheritance
Available Extensions

Constructors

RemoteFile({required String id, required String unique_id, required bool is_uploading_active, required bool is_uploading_completed, required int uploaded_size, int? extra, int? clientId})
Represents a remote file

Properties

clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
id String
Remote file identifier; may be empty. Can be used by the current user across application restarts or even from other devices. Uniquely identifies a file, but a file can have a lot of different valid identifiers..
read / write
is_uploading_active bool
True, if the file is currently being uploaded (or a remote copy is being generated by some other means).
read / write
is_uploading_completed bool
True, if a remote copy is fully available.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
unique_id String
Unique file identifier; may be empty if unknown. The unique file identifier which is the same for the same file even for different users and is persistent over time.
read / write
uploaded_size int
Size of the remote available part of the file, in bytes; 0 if unknown.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromMap(Map<String, dynamic>? _map) RemoteFile?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"remoteFile"