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