getChainId method
Returns the ID of the chain the contract is currently deployed on.
Implementation
@override
Future<BigInt> getChainId(EthereumProvider provider) async {
return queryContract<BigInt>(
provider: provider,
functionName: SafeContractFunction.getChainId,
);
}