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