<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />

FeatureSwitchDefinitionAttribute

Indicates that the specified public static boolean get-only property corresponds to the feature switch specified by name.
public string SwitchName { get; }

The name of the feature switch that provides the value for the specified property.

public FeatureSwitchDefinitionAttribute(string switchName)

Initializes a new instance of the FeatureSwitchDefinitionAttribute class with the specified feature switch name.