firmwareTestSwap method

Future<bool> firmwareTestSwap({
  1. required TransferType txType,
  2. bool autoReboot = false,
  3. String? destination,
})

Implementation

Future<bool> firmwareTestSwap({
  required TransferType txType,
  bool autoReboot = false,
  String? destination,
}) async {
  final response = await sendCommand<FirmwareUpdateTestSwapReply>(
    FirmwareUpdateTestSwapBleCommandTx(
      txType: txType,
      autoReboot: autoReboot,
      destination: destination,
    ),
  );
  return response != null && !response.hasErrors;
}