mute method

Future<bool?> mute(
  1. bool mute
)

Implementation

Future<bool?> mute(bool mute) async {
  if (_nativeChannel == null) {
    debugPrint('ERROR: MethodChannel is null');
    return false;
  }
  bool? muted = await _nativeChannel!.invokeMethod(
    'mute',
    <String, dynamic>{
      'mute': mute,
    },
  );
  return muted;
}