revokeMessage method Null safety

Future<NIMResult<void>> revokeMessage(
  1. {required NIMMessage message,
  2. String? customApnsText,
  3. Map<String, Object>? pushPayload,
  4. bool? shouldNotifyBeCount,
  5. String? postscript,
  6. String? attach}
)

Recall a message.

Implementation

Future<NIMResult<void>> revokeMessage(
    {required NIMMessage message,
    String? customApnsText,
    Map<String, Object>? pushPayload,
    bool? shouldNotifyBeCount,
    String? postscript,
    String? attach}) async {
  return _platform.revokeMessage(
      message: message,
      customApnsText: customApnsText,
      pushPayload: pushPayload,
      shouldNotifyBeCount: shouldNotifyBeCount,
      postscript: postscript,
      attach: attach);
}