getProfiles method

List<String> getProfiles()

Gets all profiles as a list

Implementation

List<String> getProfiles() {
  if (profile != null) return [profile!];
  if (profiles != null) return profiles!;
  return [];
}