value property

double get value

Implementation

double get value {
  if (this == VelocityEnum.x1_5) return 1.5;
  if (this == VelocityEnum.x2) return 2;
  return 1;
}