toggleSpeaker method

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

Toggles speaker state to provided value

Implementation

@override
Future<bool?> toggleSpeaker(bool speakerIsOn) {
  return _channel.invokeMethod('toggleSpeaker', <String, dynamic>{"speakerIsOn": speakerIsOn});
}