undeleteTopic method
Implementation
Future<Topic> undeleteTopic(String sdkId, Topic topic) async {
final res = await _methodChannel.invokeMethod<String>(
'TopicBasicApi.undeleteTopic',
{
"sdkId": sdkId,
"topic": jsonEncode(Topic.encode(topic)),
}
);
if (res == null) throw AssertionError("received null result from platform method undeleteTopic");
final parsedResJson = jsonDecode(res);
return Topic.fromJSON(parsedResJson);
}