EMGroupSharedFile class

群组共享文件类。

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

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

Constructors

EMGroupSharedFile.fromJson(Map? map)
factory

Properties

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

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