send<T> method

  1. @override
Future<T> send<T>(
  1. String function,
  2. [List? params]
)
override

Sends a transaction to the bundler RPC.

  • function: The method to call.
  • params: The parameters for the request (optional).

Returns a Future that completes with an RPC response of a generic type T.

Implementation

@override
Future<T> send<T>(String function, [List<dynamic>? params]) {
  return _makeRPCCall<T>(function, params);
}