Convert this expression to a Rat, requires that this expression is a Numeral.
Rat toRat() { if (this is Numeral) { return (this as Numeral).toRat(); } else { throw ArgumentError('cant be converted to Rat: $this'); } }