AppleState constructor

AppleState({
  1. AppleThermalState? thermalState,
  2. bool? isLowPowerModeEnabled,
})

Implementation

factory AppleState({
  AppleThermalState? thermalState,
  $core.bool? isLowPowerModeEnabled,
}) {
  final $result = create();
  if (thermalState != null) {
    $result.thermalState = thermalState;
  }
  if (isLowPowerModeEnabled != null) {
    $result.isLowPowerModeEnabled = isLowPowerModeEnabled;
  }
  return $result;
}