call<T> method
Call read-only constant method
with args
.
A constant method is read-only and evaluates a small amount of EVM code against the current blockchain state and can be computed by asking a single node, which can return a result.
It is therefore free and does not require any ether, but cannot make changes to the blockchain state.
Implementation
Future<T> call<T>(String method, [List<dynamic> args = const []]) =>
_call<T>(method, args);