glyphToUpperLetter top-level constant
Glyph-to-uppercase-letter map for punctuation characters whose shapes closely resemble specific letters.
Implementation
const Map<String, String> glyphToUpperLetter = {
'[': 'L', // vertical + bottom horizontal stroke
']': 'J', // vertical + bottom hook
'|': 'I', // vertical stroke
};