firmwareCommit method

Future<bool> firmwareCommit({
  1. required TransferType txType,
  2. String? destination,
})

Implementation

Future<bool> firmwareCommit({
  required TransferType txType,
  String? destination,
}) async {
  final response = await sendCommand<FirmwareUpdateCommitReply>(
    FirmwareUpdateCommitBleCommandTx(
      txType: txType,
      destination: destination,
    ),
  );
  return response != null && !response.hasErrors;
}