标签: flutter dart
字符串 id = "GJBR3I6R";
如何将字符串 id 转换为整数或 Ascii 值?
答案 0 :(得分:0)
您可以执行以下操作:
String id = "GJBR3I6R"; print(id.codeUnits);
输出:
[71, 74, 66, 82, 51, 73, 54, 82]