setActiveProfiles abstract method
Replaces the current set of active profiles with the given list.
Active profiles influence conditional configuration, especially with profile-based pods or property loading.
Example:
env.setActiveProfiles(['production']);
Implementation
void setActiveProfiles(List<String> profiles);