glyphOrAscii function Null safety

String glyphOrAscii(
  1. String glyph,
  2. String alternative
)

Returns glyph if Unicode glyph are allowed, and alternative if they aren't.

Implementation

String glyphOrAscii(String glyph, String alternative) =>
    glyphs.glyphOrAscii(glyph, alternative);