DeviceBean constructor

DeviceBean({
  1. String? serialNumber,
  2. String? mcuNumber,
  3. int locationId = 0,
  4. String? deviceName,
  5. int activatedTime = 0,
  6. String? modelNo,
  7. String? macAddress,
  8. String? wiredMacAddress,
  9. int activated = 0,
  10. int userId = 0,
  11. int adminId = 0,
  12. String? locationName,
  13. int statusCode = 0,
  14. int online = 0,
  15. int awake = 0,
  16. int firmwareStatus = 0,
  17. int batteryLevel = 0,
  18. int signalStrength = 0,
  19. String? networkName,
  20. int isCharging = 0,
  21. String? adminName,
  22. String? adminEmail,
  23. String? adminPhone,
  24. int role = 0,
  25. String? roleName,
  26. String? firmwareId,
  27. dynamic manufacturerId,
  28. String? userSn,
  29. int personDetect = 0,
  30. int packagePush = 0,
  31. String? timeZone,
  32. String? timeZoneArea,
  33. String? ip,
  34. int? wifiChannel,
  35. String? recResolution,
  36. bool pushIgnored = false,
  37. SDCardData? sdCard,
  38. DeviceModel? deviceModel,
  39. DeviceSupport? deviceSupport,
  40. bool antiflickerSupport = false,
  41. String? displayModelNo,
  42. String? displayGitSha,
  43. bool quantityCharge = false,
  44. String? newestFirmwareId,
  45. int deviceStatus = 0,
  46. String? deviceDormancyMessage,
  47. int? deviceDormancyWakeTime,
  48. String? codec,
  49. String? defaultCodec,
  50. bool? showCodecChange,
  51. bool? codecSupported,
  52. String? linkedPlatforms,
  53. int? offlineTime,
  54. bool firmwareSupported = true,
  55. int deviceVipLevel = 0,
  56. bool? liveAudioToggleOn,
  57. int? otaIgnored,
  58. List<List>? ai,
  59. int modelCategory = 0,
  60. int chargingMode = 0,
  61. bool alarmWhenRemoveToggleOn = false,
  62. int? thumbImgTime,
  63. String? thumbImgUrl,
  64. String? apDeviceSSID,
  65. String? apDeviceSSIDPassword,
  66. String? apDeviceSSIDSafePassword,
  67. String? mIp,
  68. int? mPort,
  69. int? lastAct,
  70. bool isDelete = false,
  71. int saveToLocalTime = 0,
  72. bool isApSyncServer = false,
  73. String? apInfo,
  74. String? apLanguage,
  75. bool mApType = false,
  76. bool deviceInVip = false,
  77. int deviceNetType = 0,
  78. String? icon,
  79. String? smallIcon,
})

Implementation

DeviceBean({
  this.serialNumber,
  this.mcuNumber,
  this.locationId = 0,
  this.deviceName,
  this.activatedTime = 0,
  this.modelNo,
  this.macAddress,
  this.wiredMacAddress,
  this.activated = 0,
  this.userId = 0,
  this.adminId = 0,
  this.locationName,
  this.statusCode = 0,

  this.online = 0,
  this.awake = 0,
  this.firmwareStatus = 0,
  this.batteryLevel = 0,
  this.signalStrength = 0,
  this.networkName,
  this.isCharging = 0,
  this.adminName,
  this.adminEmail,
  this.adminPhone,
  this.role = 0,
  this.roleName,
  this.firmwareId,
  this.manufacturerId,
  this.userSn,
  this.personDetect = 0,
  this.packagePush = 0,
  this.timeZone,
  this.timeZoneArea,
  this.ip,
  this.wifiChannel,
  this.recResolution,
  this.pushIgnored = false,
  this.sdCard,
  this.deviceModel,
  this.deviceSupport,
  this.antiflickerSupport = false,
  this.displayModelNo,
  this.displayGitSha,
  this.quantityCharge = false,
  this.newestFirmwareId,
  this.deviceStatus = 0,
  this.deviceDormancyMessage,
  this.deviceDormancyWakeTime,
  this.codec,
  this.defaultCodec,
  this.showCodecChange,
  this.codecSupported,
  this.linkedPlatforms,
  this.offlineTime,
  this.firmwareSupported = true,
  this.deviceVipLevel = 0,
  this.liveAudioToggleOn,
  this.otaIgnored,
  this.ai,
  this.modelCategory = 0,
  this.chargingMode = 0,
  this.alarmWhenRemoveToggleOn = false,
  this.thumbImgTime,
  this.thumbImgUrl,
  this.apDeviceSSID,
  this.apDeviceSSIDPassword,
  this.apDeviceSSIDSafePassword,
  this.mIp,
  this.mPort,
  this.lastAct,
  this.isDelete = false,
  this.saveToLocalTime = 0,
  this.isApSyncServer = false,
  this.apInfo,
  this.apLanguage,
  this.mApType = false,
  this.deviceInVip = false,
  this.deviceNetType = 0,
  this.icon,
  this.smallIcon
});