getOwner method

Future<String?> getOwner()

Implementation

Future<String?> getOwner() async {
  if (!isInitialized!) {
    return ownerAddress;
  }
  if (isVerified) {
    return ownerAddress;
  }
  final result = await contract.call("owner", []);
  return (result[0] as EthereumAddress).hex;
}