removeParticipant method

  1. @override
Future<String?> removeParticipant({
  1. required dynamic conversationId,
  2. required dynamic participantName,
})
override

Implementation

@override
Future<String?> removeParticipant(
    {required conversationId, required participantName}) async {
  final String? result = await methodChannel.invokeMethod<String>(
      'removeParticipant',
      {"conversationId": conversationId, "participantName": participantName});
  return result ?? "";
}