toggleSpeaker method

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

Toogles speaker state to provided value

Implementation

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