disposeOta method

void disposeOta()

Implementation

void disposeOta() {
  _otaSubscription!.cancel();
  firmwareUpdatePercentageController.addError("Firmware update failed");
  deviceController = DeviceServiceProvider();
}