mute method

Future<void> mute()

Mutes the local attendee.

Implementation

Future<void> mute() async {
  try {
    final success = await _coordinator.hostApi.mute();
    if (!success) throw ChimeDeviceException('Failed to mute', 'Mute returned false');
  } on PlatformException catch (e) {
    throw ChimeDeviceException('Failed to mute', e.message);
  }
}