DeviceBean constructor
DeviceBean({
- String? serialNumber,
- String? mcuNumber,
- int locationId = 0,
- String? deviceName,
- int activatedTime = 0,
- String? modelNo,
- String? macAddress,
- String? wiredMacAddress,
- int activated = 0,
- int userId = 0,
- int adminId = 0,
- String? locationName,
- int statusCode = 0,
- int online = 0,
- int awake = 0,
- int firmwareStatus = 0,
- int batteryLevel = 0,
- int signalStrength = 0,
- String? networkName,
- int isCharging = 0,
- String? adminName,
- String? adminEmail,
- String? adminPhone,
- int role = 0,
- String? roleName,
- String? firmwareId,
- dynamic manufacturerId,
- String? userSn,
- int personDetect = 0,
- int packagePush = 0,
- String? timeZone,
- String? timeZoneArea,
- String? ip,
- int? wifiChannel,
- String? recResolution,
- bool pushIgnored = false,
- SDCardData? sdCard,
- DeviceModel? deviceModel,
- DeviceSupport? deviceSupport,
- bool antiflickerSupport = false,
- String? displayModelNo,
- String? displayGitSha,
- bool quantityCharge = false,
- String? newestFirmwareId,
- int deviceStatus = 0,
- String? deviceDormancyMessage,
- int? deviceDormancyWakeTime,
- String? codec,
- String? defaultCodec,
- bool? showCodecChange,
- bool? codecSupported,
- String? linkedPlatforms,
- int? offlineTime,
- bool firmwareSupported = true,
- int deviceVipLevel = 0,
- bool? liveAudioToggleOn,
- int? otaIgnored,
- List<
List> ? ai, - int modelCategory = 0,
- int chargingMode = 0,
- bool alarmWhenRemoveToggleOn = false,
- int? thumbImgTime,
- String? thumbImgUrl,
- String? apDeviceSSID,
- String? apDeviceSSIDPassword,
- String? apDeviceSSIDSafePassword,
- String? mIp,
- int? mPort,
- int? lastAct,
- bool isDelete = false,
- int saveToLocalTime = 0,
- bool isApSyncServer = false,
- String? apInfo,
- String? apLanguage,
- bool mApType = false,
- bool deviceInVip = false,
- int deviceNetType = 0,
- String? icon,
- 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
});