addForce method
Implementation
void addForce(Force2D force) {
_forces.removeWhere((element) => element.id == force.id);
_forces.add(force);
}
void addForce(Force2D force) {
_forces.removeWhere((element) => element.id == force.id);
_forces.add(force);
}