RemoteFile class

Implemented types


RemoteFile({String id, bool isUploadingActive, bool isUploadingCompleted, int uploadedSize})
Represents a remote file. id Remote file identifier; may be empty. Can be used across application restarts or even from other devices for the current user. If the ID starts with "http. If downloadFile is called on such a file or if it is sent to a secret chat, TDLib starts a file generation process by sending updateFileGenerationStart to the client with the HTTP URL in the original_path and "#url#" as the conversion string. Clients should generate the file by downloading it to the specified location. isUploadingActive True, if the file is currently being uploaded (or a remote copy is being generated by some other means). isUploadingCompleted True, if a remote copy is fully available. uploadedSize Size of the remote available part of the file; 0 if unknown
RemoteFile.fromJson(Map<String, dynamic> json)
Parse from a json


hashCode int
The hash code for this object. [...]
read-only, inherited
id String
read / write
isUploadingActive bool
read / write
isUploadingCompleted bool
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
uploadedSize int
read / write


getConstructor() String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() Map<String, dynamic>
toString() String
Returns a string representation of this object.


operator ==(dynamic other) bool
The equality operator. [...]


CONSTRUCTOR → const String