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);
}