Simulation constructor Null safety

Simulation(
  1. {Tolerance tolerance}
)

Initializes the tolerance field for subclasses.

Implementation

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