decode static method
Implementation
static List<int> decode(dynamic data, {SolanaRequestEncoding? type}) {
final correctType = _findTypes(data);
if (type != null && correctType.$1 != type) {
throw SolanaPluginException(
'Incorrect type.',
details: {'expected': correctType.$1, 'type': type},
);
}
return _decode(correctType.$2, correctType.$1);
}