getParticipant method
Provides the local participant object that belongs to the current session.
Implementation
Future<Participant?> getParticipant() async {
final result = await _methodChannel
.invokeMethod<Map<Object?, Object?>>('getParticipant');
return result != null ? ParticipantMapper.fromMap(result) : null;
}