fromAssets static method
Implementation
static Future<DeployedContract> fromAssets(
String path, String contractAddress, String contractName) async {
final contractJson =
jsonDecode(await rootBundle.loadString('assets/' + path));
return DeployedContract(
ContractAbi.fromJson(jsonEncode(contractJson["abi"]), contractName),
EthereumAddress.fromHex(contractAddress));
}