getParticipantByIdentity method
Implementation
Future<Participant?> getParticipantByIdentity(String identity) async {
try {
final result = await TwilioConversations()
.conversationApi
.getParticipantByIdentity(sid, identity);
final participant = Participant.fromPigeon(result);
return participant;
} on PlatformException catch (err) {
throw TwilioConversations.convertException(err);
}
}