getCollectionList static method
获取收藏列表
Implementation
static Future<NIMResult<NIMCollectionListResult>> getCollectionList(
{NIMQueryDirection? direction,
NIMCollection? anchorCollection,
int? limit,
int? collectionType}) {
final option = NIMCollectionOption(
direction: direction,
anchorCollection: anchorCollection,
limit: limit,
collectionType: collectionType ?? 0);
return NimCore.instance.messageService.getCollectionListExByOption(option);
}