decode method
Implementation
int decode(String hex) {
int mod = 64;
int value = 0;
if (hex.isNotEmpty) {
var array = hex.split('');
var i = 0;
for (int count = hex.length - 1; count >= 0; count--) {
int a = int.tryParse(array[i]) ?? _base64ToDexAscii(array[i]);
value += (a * pow(mod, count)).round();
i++;
}
}
return value;
}