power property

dynamic get power

Implementation

get power {
  return intensity * 4 * Math.PI;
}
set power (dynamic value)

Implementation

set power(value) {
  intensity = value / (4 * Math.PI);
}