Config_DisplayConfig constructor
Config_DisplayConfig({
- int? screenOnSecs,
- @Deprecated('This field is deprecated.') Config_DisplayConfig_GpsCoordinateFormat? gpsFormat,
- int? autoScreenCarouselSecs,
- @Deprecated('This field is deprecated.') bool? compassNorthTop,
- bool? flipScreen,
- Config_DisplayConfig_DisplayUnits? units,
- Config_DisplayConfig_OledType? oled,
- Config_DisplayConfig_DisplayMode? displaymode,
- bool? headingBold,
- bool? wakeOnTapOrMotion,
- Config_DisplayConfig_CompassOrientation? compassOrientation,
- bool? use12hClock,
Implementation
factory Config_DisplayConfig({
$core.int? screenOnSecs,
@$core.Deprecated('This field is deprecated.')
Config_DisplayConfig_GpsCoordinateFormat? gpsFormat,
$core.int? autoScreenCarouselSecs,
@$core.Deprecated('This field is deprecated.') $core.bool? compassNorthTop,
$core.bool? flipScreen,
Config_DisplayConfig_DisplayUnits? units,
Config_DisplayConfig_OledType? oled,
Config_DisplayConfig_DisplayMode? displaymode,
$core.bool? headingBold,
$core.bool? wakeOnTapOrMotion,
Config_DisplayConfig_CompassOrientation? compassOrientation,
$core.bool? use12hClock,
}) {
final result = create();
if (screenOnSecs != null) result.screenOnSecs = screenOnSecs;
if (gpsFormat != null) result.gpsFormat = gpsFormat;
if (autoScreenCarouselSecs != null)
result.autoScreenCarouselSecs = autoScreenCarouselSecs;
if (compassNorthTop != null) result.compassNorthTop = compassNorthTop;
if (flipScreen != null) result.flipScreen = flipScreen;
if (units != null) result.units = units;
if (oled != null) result.oled = oled;
if (displaymode != null) result.displaymode = displaymode;
if (headingBold != null) result.headingBold = headingBold;
if (wakeOnTapOrMotion != null) result.wakeOnTapOrMotion = wakeOnTapOrMotion;
if (compassOrientation != null)
result.compassOrientation = compassOrientation;
if (use12hClock != null) result.use12hClock = use12hClock;
return result;
}