operator + method
add
Implementation
Score operator +(dynamic other) {
if (other is int) return add(other);
if (other is Score) return addScore(other);
throw ('Please use either a Score or an Int in the operator +');
}
add
Score operator +(dynamic other) {
if (other is int) return add(other);
if (other is Score) return addScore(other);
throw ('Please use either a Score or an Int in the operator +');
}