callMethod method

Future<Response> callMethod(
  1. String method, {
  2. String? isolateId,
  3. Map<String, dynamic>? args,
})

Call an arbitrary service protocol method. This allows clients to call methods not explicitly exposed by this library.

Implementation

Future<Response> callMethod(String method,
    {String? isolateId, Map<String, dynamic>? args}) {
  return callServiceExtension(method, isolateId: isolateId, args: args);
}