updateCollect method Null safety

Future<NIMResult<NIMCollectInfo>> updateCollect(
  1. NIMCollectInfo info
)

Update a favorite's extension field.

If info.ext is empty, the extension field will be deleted.

Implementation

Future<NIMResult<NIMCollectInfo>> updateCollect(NIMCollectInfo info) {
  return _platform.updateCollect(info);
}