EnergyField.of constructor

EnergyField.of(
  1. EnergyField energyField
)

Copy constructor.

Implementation

factory EnergyField.of(EnergyField energyField) => EnergyField(
      energyField.energy,
      energyField.space,
    );