NIMCollectInfo class Null safety

Messages in Bookmark

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
Get the creation time of a bookmark. Unit: seconds
final
data → String
Data that contains a maximum of 20,480 bytes
final
ext ↔ String?
Extension field that can hold 1,024 characters This field can be updated
read / write
hashCode → int
The hash code for this object.
read-only, inherited
id → int
the bookmark ID that is unique and generated by the server.
final
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
type → int
Bookmark type
final
uniqueId → String?
Remove duplicate IDs. If multiple bookmarks share the same ID, the bookmarks are regarded the same.
final
updateTime → double
Get the update time of a bookmark. Unit: seconds
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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