undeleteMessage method
Implementation
Future<Message> undeleteMessage(String sdkId, Message message) async {
final res = await _methodChannel.invokeMethod<String>(
'MessageBasicApi.undeleteMessage',
{
"sdkId": sdkId,
"message": jsonEncode(Message.encode(message)),
}
);
if (res == null) throw AssertionError("received null result from platform method undeleteMessage");
final parsedResJson = jsonDecode(res);
return Message.fromJSON(parsedResJson);
}