fraction library Null safety

Classes

EgyptianFraction
This class converts a Fraction or a MixedFraction type into its egyptian fraction representation. Only positive number are allowed. [...]
Fraction
Dart representation of a fraction having both the numerator and the denominator as integers. [...]
MixedFraction
Dart representation of a mixed fraction which is composed by the whole part and a proper fraction. A proper fraction is a fraction in which the relation numerator <= denominator is true. [...]

Extensions

FractionNum
Adds Fraction functionalities to num.
FractionString
Adds Fraction functionalities to String.
MixedFractionNum
Adds MixedFraction functionalities to num.
MixedFractionString
Adds MixedFraction functionalities to String.

Exceptions / Errors

FractionException
Exception thrown by Fraction.
MixedFractionException
Exception object thrown by MixedFraction.