A one-liner with the same effect:
    List<String> sel = resources.map((r) => r.uuid);