addParticipant method

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

Add participant in a conversation #

Implementation

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