From 6b0527129893cea55f473b53630f6061dcbe7b1b Mon Sep 17 00:00:00 2001 From: Nicolas DI PRIMA Date: Fri, 12 May 2023 12:41:52 +0100 Subject: [PATCH] fix invalid external JS symbol (missing `s`). --- lib/src/ethers/ethers.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/ethers/ethers.dart b/lib/src/ethers/ethers.dart index 1555f73..e2dfebb 100644 --- a/lib/src/ethers/ethers.dart +++ b/lib/src/ethers/ethers.dart @@ -185,7 +185,7 @@ class EthUtils { /// EthUtils.parseUnits("121.0", 9); /// // { BigNumber: "121000000000" } /// ``` - external static BigNumber parseUnit(String value, [dynamic unit = 'ether']); + external static BigNumber parseUnits(String value, [dynamic unit = 'ether']); /// Returns the `KECCAK256` of the non-standard encoded [values] packed according to their respective type in [types]. ///