Device constructor

Device({
  1. String? mac,
  2. int? years,
  3. String? model,
  4. String? softwareCode,
  5. int? battery,
  6. String? deviceId,
  7. int? volume,
  8. String? deviceName,
  9. Object? statusCode,
  10. int? rssi,
  11. String? version,
  12. int? createdTime,
  13. bool? onLine,
  14. String? deviceKey,
})

Implementation

Device({
    this.mac,
    this.years,
    this.model,
    this.softwareCode,
    this.battery,
    this.deviceId,
    this.volume,
    this.deviceName,
    this.statusCode,
    this.rssi,
    this.version,
    this.createdTime,
    this.onLine,
    this.deviceKey});