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