utils/string library

Functions

hexToBytes(String hexStr) List<int>
Converts the hexadecimal string, which can be prefixed with 0x, to a byte sequence.
hexToPlainText(String hex) String
plainTextToHex(String plainText) String
stringCamelCase(String value) String
stringLowerFirst(String value) String
stringShorten(String value, {int prefixLength = 6}) String
stringToU8a(String msg, {String? enc, bool useDartEncode = true}) Uint8List
stringUpperFirst(String value) String
strip0xHex(String hex) String
textDecoder(Uint8List value) String
textEncoder(String value) Uint8List