# Profile.not constructor

const Profile.not(

1. List<String> profiles

)

Create a profile annotation that excludes certain profiles

## 🎯 Target:

Can only be applied to classes:

### Example:

    @Component()
    @Profile.not(['production'])
    class DebugService {
      // Active in all profiles except production
    }

## Implementation

    const Profile.not(List<String> profiles) : this(profiles, negate: true);