EMGroupSharedFile class

群组共享文件类。

可以通过 EMGroupManager.fetchGroupFileListFromServer 方法获取共享文件信息,示例如下:

  List<EMGroupSharedFile> list = await EMClient.getInstance.groupManager.fetchGroupFileListFromServer(groupId);

Constructors

EMGroupSharedFile.fromJson(Map? map)
factory

Properties

createTime → int?
共享文件的上传时间戳,单位为毫秒。
no setter
fileId → String?
共享文件 ID。
no setter
fileName → String?
共享文件名称。
no setter
fileOwner → String?
上传共享文件的成员用户 ID。
no setter
fileSize → int?
共享文件大小,单位为字节。
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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