isWhole property
bool
isWhole
True of false whether the fraction is whole.
Implementation
bool get isWhole => denominator == 1;
True of false whether the fraction is whole.
bool get isWhole => denominator == 1;