removeParticipantByIdentity method

Future<bool?> removeParticipantByIdentity(
  1. String identity
)

Implementation

Future<bool?> removeParticipantByIdentity(String identity) async {
  try {
    final result = await TwilioConversations()
        .conversationApi
        .removeParticipantByIdentity(sid, identity);

    return result;
  } on PlatformException catch (err) {
    throw TwilioConversations.convertException(err);
  }
}