operator / method

Score operator /(
  1. dynamic other
)

divide by

Implementation

Score operator /(dynamic other) {
  if (other is int) {
    return divideByScore(
      Score.con(other),
    );
  }
  if (other is Score) return divideByScore(other);
  throw ('Please use either a Score or an Int in the operator /');
}