sendCommand method

  1. @override
Future<bool?> sendCommand(
  1. String command
)
override

Implementation

@override
Future<bool?> sendCommand(String command) async {
  return await methodChannel.invokeMethod<bool>('triggerCommand', <String, String>{'command': command});
}