decodeFunctionOutput method

List<Object> decodeFunctionOutput(
  1. String name,
  2. Uint8List encoded
)

Implementation

List<Object> decodeFunctionOutput(String name, Uint8List encoded) {
  final f = findFunctionByName(name);
  if (f == null) {
    throw Exception('Function does not exist');
  }
  return f.decodeOutput(encoded);
}