saveMessage method Null safety
- {required NIMMessage message,
- required String fromAccount}
Save a message.
Implementation
Future<NIMResult<NIMMessage>> saveMessage(
{required NIMMessage message, required String fromAccount}) async {
return _platform.saveMessage(message: message, fromAccount: fromAccount);
}