isFractionGlyph property

bool isFractionGlyph

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

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

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

Implementation

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