decodeType static method
Implementation
static Object decodeType(
SolidityType type,
Uint8List encoded, [
int offset = 0,
]) {
final decoded = type.isDynamicType
? type.decode(
encoded,
IntType.decodeToBigInt(encoded, offset).toInt(),
)
: type.decode(encoded, offset);
return decoded;
}