toggleSpeaker method

  1. @override
Future<bool?> toggleSpeaker(
  1. bool speakerIsOn
)
override

Not currently implemented for web

Implementation

@override
Future<bool?> toggleSpeaker(bool speakerIsOn) async {
  Logger.logLocalEvent(speakerIsOn ? "Speaker On" : "Speaker Off", prefix: "");
  return Future.value(false);
}