deleteMessages method
Implementation
Future<List<DocIdentifier>> deleteMessages(String sdkId, List<Message> messages) async {
final res = await _methodChannel.invokeMethod<String>(
'MessageBasicApi.deleteMessages',
{
"sdkId": sdkId,
"messages": jsonEncode(messages.map((x0) => Message.encode(x0)).toList()),
}
);
if (res == null) throw AssertionError("received null result from platform method deleteMessages");
final parsedResJson = jsonDecode(res);
return (parsedResJson as List<dynamic>).map((x1) => DocIdentifier.fromJSON(x1) ).toList();
}