removeParticipant method
Implementation
Future<EncryptedTopic> removeParticipant(String sdkId, String entityId, String dataOwnerId) async {
final res = await _methodChannel.invokeMethod<String>(
'TopicBasicApi.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);
}