MagneticField constructor

const MagneticField(
  1. num x,
  2. num y,
  3. num z
)

Constructor of the magneticfield class.

Implementation

const MagneticField(this.x, this.y, this.z);