@override Future<bool> canSwitchSpeaker() async { return await methodChannel .invokeMethod<bool>('canSwitchSpeaker') .then<bool>((bool? value) => value ?? false); }