getUser method
Implementation
Future<User?> getUser() async {
try {
final result = await TwilioConversations()
.participantApi
.getUser(conversationSid, sid);
return User.fromMap(Map<String, dynamic>.from(result.encode() as Map));
} on PlatformException catch (err) {
throw TwilioConversations.convertException(err);
}
}