getProcessesByUser method

List<MinecraftProcessInfo> getProcessesByUser(
  1. String uuid
)

Gets a list of processes for a specific user.

uuid - UUID of the user Returns a list of process information for the specified user.

Implementation

List<MinecraftProcessInfo> getProcessesByUser(String uuid) {
  return _runningProcesses.values
      .where((process) => process.auth?.uuid == uuid)
      .toList();
}