UrpDeviceConfig constructor
UrpDeviceConfig({
- int? version,
- UrpScanConfig? scan,
- UrpButtonConfig? button,
- UrpCalibration? calibration,
- bool? autoUpdate,
- bool? bleEnabled,
- bool? usbEnabled,
- bool? wifiEnabled,
- bool? autoTokenRefresh,
- int? tokenRefreshThreshold,
- int? tokenRefreshExpiryMarginS,
- bool? cloudPresence,
- String? otaUrl,
- bool? blePairingEnabled,
Implementation
factory UrpDeviceConfig({
$core.int? version,
UrpScanConfig? scan,
UrpButtonConfig? button,
UrpCalibration? calibration,
$core.bool? autoUpdate,
$core.bool? bleEnabled,
$core.bool? usbEnabled,
$core.bool? wifiEnabled,
$core.bool? autoTokenRefresh,
$core.int? tokenRefreshThreshold,
$core.int? tokenRefreshExpiryMarginS,
$core.bool? cloudPresence,
$core.String? otaUrl,
$core.bool? blePairingEnabled,
}) {
final $result = create();
if (version != null) {
$result.version = version;
}
if (scan != null) {
$result.scan = scan;
}
if (button != null) {
$result.button = button;
}
if (calibration != null) {
$result.calibration = calibration;
}
if (autoUpdate != null) {
$result.autoUpdate = autoUpdate;
}
if (bleEnabled != null) {
$result.bleEnabled = bleEnabled;
}
if (usbEnabled != null) {
$result.usbEnabled = usbEnabled;
}
if (wifiEnabled != null) {
$result.wifiEnabled = wifiEnabled;
}
if (autoTokenRefresh != null) {
$result.autoTokenRefresh = autoTokenRefresh;
}
if (tokenRefreshThreshold != null) {
$result.tokenRefreshThreshold = tokenRefreshThreshold;
}
if (tokenRefreshExpiryMarginS != null) {
$result.tokenRefreshExpiryMarginS = tokenRefreshExpiryMarginS;
}
if (cloudPresence != null) {
$result.cloudPresence = cloudPresence;
}
if (otaUrl != null) {
$result.otaUrl = otaUrl;
}
if (blePairingEnabled != null) {
$result.blePairingEnabled = blePairingEnabled;
}
return $result;
}