V2TimFileElem class Models

V2TimFileElem

Inheritance

Constructors

V2TimFileElem({String? path, String? fileName, String? UUID, String? url, int? fileSize, String? localUrl})
V2TimFileElem.fromJson(Map json)

Properties

elemType ↔ int?
getter/setter pairinherited
fileName ↔ String?
文件名
getter/setter pair
fileSize ↔ int?
文件大小
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
localUrl ↔ String?
文件本地路径,downloadMessage之后有值
getter/setter pair
nextElem → dynamic
no setterinherited
path ↔ String?
文件本地路径,仅在发送消息成功之前有效,用作文件本地预览
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
url ↔ String?
文件url,默认不返回,通过getMessageOnlineUrl获取
getter/setter pair
UUID ↔ String?
getter/setter pair

Methods

getDefaultLocalUrl() → String?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
renameFile(String sourceFile, String destinationFile) → bool
setElemIndexInternal(int index) → void
inherited
setMessageInternal(V2TimMessage message) → void
inherited
toJson() → Map<String, dynamic>
toLogString() → String
toString() → String
A string representation of this object.
inherited

Operators

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