Config_DisplayConfig constructor

Config_DisplayConfig({
  1. int? screenOnSecs,
  2. @Deprecated('This field is deprecated.') Config_DisplayConfig_GpsCoordinateFormat? gpsFormat,
  3. int? autoScreenCarouselSecs,
  4. @Deprecated('This field is deprecated.') bool? compassNorthTop,
  5. bool? flipScreen,
  6. Config_DisplayConfig_DisplayUnits? units,
  7. Config_DisplayConfig_OledType? oled,
  8. Config_DisplayConfig_DisplayMode? displaymode,
  9. bool? headingBold,
  10. bool? wakeOnTapOrMotion,
  11. Config_DisplayConfig_CompassOrientation? compassOrientation,
  12. 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;
}