call<T> method

Future<T> call<T>(
  1. String method, [
  2. List args = const []
])

Call read-only constant method on the Contract.

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);