resetOwner method

Future<String> resetOwner(
  1. String newOwner
)

Implementation

Future<String> resetOwner(String newOwner) async {
  await checkIfInitialized();
  if (!isInitialized!) throw Exception("Smart wallet not initialized");
  var result = await contract.send(
    "resetOwner",
    [
      EthereumAddress.fromHex(newOwner),
    ],
  );
  return result.hash;
}