UrpDeviceInfo constructor

UrpDeviceInfo({
  1. String? id,
  2. String? name,
  3. String? fwVersion,
  4. String? fwMd5,
  5. UrpDeviceType? deviceType,
  6. String? mac,
  7. String? revision,
  8. UrpWifiState? wifi,
  9. UrpBleState? ble,
  10. UrpUsbState? usb,
  11. String? hostname,
  12. bool? flashEncrypted,
  13. bool? secureBootEnabled,
})

Implementation

factory UrpDeviceInfo({
  $core.String? id,
  $core.String? name,
  $core.String? fwVersion,
  $core.String? fwMd5,
  UrpDeviceType? deviceType,
  $core.String? mac,
  $core.String? revision,
  UrpWifiState? wifi,
  UrpBleState? ble,
  UrpUsbState? usb,
  $core.String? hostname,
  $core.bool? flashEncrypted,
  $core.bool? secureBootEnabled,
}) {
  final $result = create();
  if (id != null) {
    $result.id = id;
  }
  if (name != null) {
    $result.name = name;
  }
  if (fwVersion != null) {
    $result.fwVersion = fwVersion;
  }
  if (fwMd5 != null) {
    $result.fwMd5 = fwMd5;
  }
  if (deviceType != null) {
    $result.deviceType = deviceType;
  }
  if (mac != null) {
    $result.mac = mac;
  }
  if (revision != null) {
    $result.revision = revision;
  }
  if (wifi != null) {
    $result.wifi = wifi;
  }
  if (ble != null) {
    $result.ble = ble;
  }
  if (usb != null) {
    $result.usb = usb;
  }
  if (hostname != null) {
    $result.hostname = hostname;
  }
  if (flashEncrypted != null) {
    $result.flashEncrypted = flashEncrypted;
  }
  if (secureBootEnabled != null) {
    $result.secureBootEnabled = secureBootEnabled;
  }
  return $result;
}