FileAttachment class
- Inheritance
-
- Object
- MsgAttachment
- FileAttachment
- Implementers
Constructors
Properties
- displayName ↔ String?
-
文件显示名
getter/setter pair
- expire ↔ int?
-
过期时间(仅对文件类型有效)
getter/setter pair
- extension ↔ String?
-
文件后缀名
getter/setter pair
- forceUpload ↔ bool?
-
如果服务器存在相同的附件文件,是否强制重新上传 , 默认false
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- md5 ↔ String?
-
文件内容md5
getter/setter pair
- nosTokenSceneKey ↔ String?
-
上传文件时用的对token对应的场景,默认{@link NimNosSceneKeyConstant#NIM_DEFAULT_IM}
getter/setter pair
- path ↔ String?
-
文件路径
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size ↔ int?
-
文件大小
getter/setter pair
- url ↔ String?
-
文件下载地址
getter/setter pair
Methods
-
append(
) → Map - 追加各个自有的数据
-
fromJson(
Map? map) → void -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited