decodeOffchainOutput method

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

Implementation

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