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