UrpDeviceInfo constructor

UrpDeviceInfo({
  1. String? id,
  2. String? name,
  3. String? fwVersion,
  4. String? fwMd5,
  5. UrpDeviceType? deviceType,
})

Implementation

factory UrpDeviceInfo({
  $core.String? id,
  $core.String? name,
  $core.String? fwVersion,
  $core.String? fwMd5,
  UrpDeviceType? deviceType,
}) {
  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;
  }
  return $result;
}