OtaBean constructor

OtaBean({
  1. String? serialNumber,
  2. int statusCode = 0,
  3. String? currentFirmware,
  4. String? targetFirmware,
  5. int firmwareStatus = 0,
  6. int size = 0,
  7. String? md5,
  8. String? modelNo,
  9. int adminId = 0,
  10. String? newestFirmwareId,
  11. bool encrypted = false,
  12. List<String>? releaseNote,
})

Implementation

OtaBean({
  this.serialNumber,
  this.statusCode = 0,
  this.currentFirmware,
  this.targetFirmware,
  this.firmwareStatus = 0,
  this.size = 0,
  this.md5,
  this.modelNo,
  this.adminId = 0,
  this.newestFirmwareId,
  this.encrypted = false,
  this.releaseNote,
});