getRetainingPath method

Future<RetainingPath?> getRetainingPath(
  1. String targetId,
  2. int limit
)

Implementation

Future<RetainingPath?> getRetainingPath(String targetId, int limit) async {
  VmService vmService = await getVMService();
  if (vmService == null) return null;
  final mainIsolate = await getMainIsolate();
  if (mainIsolate != null && mainIsolate.id != null) {
    return vmService.getRetainingPath(mainIsolate.id!, targetId, limit);
  }
  return null;
}