getName method

Future<String> getName()

Implementation

Future<String> getName() async {
  final function = abi.functions[0];
  assert(function.functionSelectorHex == "06fdde03");

  final response = await readSafe(
    function: function.addValues(values: []),
  );

  return response.outputs.first.castValue<String>();
}