Simulation constructor Null safety

Simulation(
  1. {Tolerance tolerance = Tolerance.defaultTolerance}
)

Initializes the tolerance field for subclasses.

Implementation

Simulation({ this.tolerance = Tolerance.defaultTolerance });