sendCommand method

  1. @override
Future<void> sendCommand(
  1. Command command
)
override

Implementation

@override
Future<void> sendCommand(Command command) {
  if (_baseStationConnectionState != BaseStationConnectionEnum.connected) {
    throw Exception('Not connected');
  }
  return characteristics.sendCommand(command);
}