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