IsPoweredResponse constructor

IsPoweredResponse({
  1. bool? isOn,
  2. double? powerPct,
})

Implementation

factory IsPoweredResponse({
  $core.bool? isOn,
  $core.double? powerPct,
}) {
  final $result = create();
  if (isOn != null) {
    $result.isOn = isOn;
  }
  if (powerPct != null) {
    $result.powerPct = powerPct;
  }
  return $result;
}