encode static method
Encodes values according to the given types.
Implementation
static Uint8List encode(List<AbiType> types, List<dynamic> values) {
if (types.length != values.length) {
throw ArgumentError('Types and values length mismatch');
}
final tuple = AbiTuple(types);
return tuple.encode(values);
}