DeviceUIConfig constructor
DeviceUIConfig({
- int? version,
- int? screenBrightness,
- int? screenTimeout,
- bool? screenLock,
- bool? settingsLock,
- int? pinCode,
- Theme? theme,
- bool? alertEnabled,
- bool? bannerEnabled,
- int? ringToneId,
- Language? language,
- NodeFilter? nodeFilter,
- NodeHighlight? nodeHighlight,
- List<
int> ? calibrationData, - Map_? mapData,
- CompassMode? compassMode,
- int? screenRgbColor,
- bool? isClockfaceAnalog,
Implementation
factory DeviceUIConfig({
$core.int? version,
$core.int? screenBrightness,
$core.int? screenTimeout,
$core.bool? screenLock,
$core.bool? settingsLock,
$core.int? pinCode,
Theme? theme,
$core.bool? alertEnabled,
$core.bool? bannerEnabled,
$core.int? ringToneId,
Language? language,
NodeFilter? nodeFilter,
NodeHighlight? nodeHighlight,
$core.List<$core.int>? calibrationData,
Map_? mapData,
CompassMode? compassMode,
$core.int? screenRgbColor,
$core.bool? isClockfaceAnalog,
}) {
final result = create();
if (version != null) result.version = version;
if (screenBrightness != null) result.screenBrightness = screenBrightness;
if (screenTimeout != null) result.screenTimeout = screenTimeout;
if (screenLock != null) result.screenLock = screenLock;
if (settingsLock != null) result.settingsLock = settingsLock;
if (pinCode != null) result.pinCode = pinCode;
if (theme != null) result.theme = theme;
if (alertEnabled != null) result.alertEnabled = alertEnabled;
if (bannerEnabled != null) result.bannerEnabled = bannerEnabled;
if (ringToneId != null) result.ringToneId = ringToneId;
if (language != null) result.language = language;
if (nodeFilter != null) result.nodeFilter = nodeFilter;
if (nodeHighlight != null) result.nodeHighlight = nodeHighlight;
if (calibrationData != null) result.calibrationData = calibrationData;
if (mapData != null) result.mapData = mapData;
if (compassMode != null) result.compassMode = compassMode;
if (screenRgbColor != null) result.screenRgbColor = screenRgbColor;
if (isClockfaceAnalog != null) result.isClockfaceAnalog = isClockfaceAnalog;
return result;
}