type property Null safety

SpringType type

The kind of spring being simulated, for debugging purposes.

This is derived from the SpringDescription provided to the new SpringSimulation constructor.

Implementation

SpringType get type => _solution.type;