undeleteDocumentById method
Implementation
Future<DecryptedDocument> undeleteDocumentById(String sdkId, String id, String rev) async {
final res = await _methodChannel.invokeMethod<String>(
'DocumentApi.undeleteDocumentById',
{
"sdkId": sdkId,
"id": jsonEncode(id),
"rev": jsonEncode(rev),
}
);
if (res == null) throw AssertionError("received null result from platform method undeleteDocumentById");
final parsedResJson = jsonDecode(res);
return DecryptedDocument.fromJSON(parsedResJson);
}