deployed method

Future<BigInt?> deployed()

Returns the block number of the block in which the contract was deployed.

Implementation

Future<BigInt?> deployed() async {
  var deployedFunction = _contract.function('deployed');
  var res = await web3Client
      .call(contract: _contract, function: deployedFunction, params: []);

  return res.first as BigInt?;
}