mass property

double get mass

Implementation

double get mass => _mass;
set mass (double mass)

Implementation

set mass(double mass) {
  assert(mass >= 1);
  _mass = mass;
}