Closed benzsuankularb closed 3 years ago
For example, Erc20 has the type fallback in the ABI file.
fallback
{ "payable": true, "stateMutability": "payable", "type": "fallback" },
Or Pancakeswap router has the type receive in the ABI file.
receive
{ "stateMutability":"payable", "type":"receive" }
This cause an error when generating file using build runner. Null check operator used on a null value
Null check operator used on a null value
Thanks for the report! I've fixed this problem and the other one you reported in version 2.1.2 of web3dart.
For example, Erc20 has the type
fallback
in the ABI file.Or Pancakeswap router has the type
receive
in the ABI file.This cause an error when generating file using build runner.
Null check operator used on a null value