Rational constructor

const Rational(
  1. int numerator,
  2. int denominator
)

Implementation

const Rational(this.numerator, this.denominator);