callMethod method

Future<Response>? callMethod(
  1. String method
)

Implementation

Future<Response>? callMethod(String method) {
  if (registeredMethodsForService.containsKey(method)) {
    return (serviceClient.callMethod(
      registeredMethodsForService[method]?.last ?? '',
      isolateId: vm?.isolates?.first.id,
    ));
  }
  return null;
}