average property

Rational get average

Implementation

Rational get average => Rational(sum) / Rational(BigInt.from(length));