isFractionGlyph property

bool isFractionGlyph

Returns true if this Fraction object has an associated unicode glyph. For example:

Fraction(1, 2).hasUnicodeGlyph; // true

The above returns true because "1/2" can be represented as ½, which is a valid 'unicode glyph'.

Implementation

bool get isFractionGlyph => _valuesToGlyphs.containsKey(this);