setActiveProfiles method
Sets active profiles
Implementation
void setActiveProfiles(List<String> profiles) {
// Create new context with updated profiles
_context = InjectionContext(
activeProfiles: profiles,
properties: _context.properties,
allowCircularDependencies: _allowCircularDependencies,
);
}