remove method
Removes the participant from the room.
- Calling this method forcefully removes the participant from the current room session.
Returns
- A
Future<void>that completes once the native SDK accepts the request, or throws a VideoSDKError carrying itscodeandname.
Example
// Remove participant from the room
await participant.remove();
Implementation
Future<void> remove() => _remove();