NIMCollectInfo class

收藏信息

Annotations
  • @JsonSerializable()

Constructors

NIMCollectInfo({required int id, required int type, required String data, String? ext, String? uniqueId, double createTime = 0.0, double updateTime = 0.0})
NIMCollectInfo.fromMap(Map<String, dynamic> map)
factory

Properties

createTime double
创建时间,单位为秒
final
data String
数据,最大20480
final
ext String?
扩展字段,最大1024 该字段可以更新
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int
此收藏的ID,由服务端生成,具有唯一性
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type int
收藏的类型
final
uniqueId String?
去重ID,如果多个收藏具有相同的去重ID,则视为同一条收藏
final
updateTime double
更新时间,单位为 秒
final

Methods

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

Operators

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