runningIsolates property

Future<List<String>> runningIsolates

Will return a List of UUIDs representing all running isolates. NOTE: You cannot kill them individually. This information is only useful if you want to count the number of isolates

Implementation

static Future<List<String>> get runningIsolates => _control
    .invokeMethod<List<Object?>>("get_isolate_list")
    .then((value) => value?.cast<String>() ?? []);