Uint8List hexToBytes(String input) { var result = hex.decode(remove0x(input)) as Uint8List; return result; }