superscript.helper library

Constants

kSuperscripts → const Map<String, String>
kSuperscriptsReverse → const Map<String, String>

Functions

isSuperscript(String character) bool
Checks if the given character is a superscript character.
revertSuperscripts(String value) String
Reverts superscript characters in the given value to their normal equivalents.
superscriptLastCharacter(String value) String
Replaces the last character of the given value with its superscript equivalent if available.