toRational method

Rational toRational()

This int as a Rational.

Implementation

Rational toRational() => Rational.fromInt(this);