EnergyExt extension Null safety

on

Methods

asEnergy(Energy energy) EnergyValues
Convert this as an EnergyValues. Basic usage: