codePoint as the hexadecimal literal a glyph is usually written as, which both platforms read the same way.
codePoint
String hwCodePointLiteral(int codePoint) => '0x${codePoint.toRadixString(16).toUpperCase()}';