updateMessagePin method Null safety

Future<NIMResult<void>> updateMessagePin(
  1. NIMMessage message,
  2. String? ext
)

Update a message's pin information.

message The message that was pinned
ext The extension field. If no value is passed, the extension field will be deleted.

Implementation

Future<NIMResult<void>> updateMessagePin(NIMMessage message, String? ext) {
  return _platform.updateMessagePin(message, ext);
}