Rational constructor

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

Implementation

Rational(this.numerator, this.denominator);