Gets all profiles as a list
List<String> getProfiles() { if (profile != null) return [profile!]; if (profiles != null) return profiles!; return []; }