friction property Null safety

double friction
final

The amount of friction the particle experiences as it travels.

The more friction the particle experiences, the sooner it stops.

Implementation

final double friction;