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