addMessagePin method Null safety

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

Pin a message.

message The message to be pinned
ext The extension field

Implementation

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