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