public string StringVariation( string key, User user, string defaultValue )
Public Function StringVariation ( key As String, user As User, defaultValue As String ) As String
If the flag variation does not have a string value, defaultValue is returned.
Normally, the string value of a flag should not be null, since the LaunchDarkly UI does not allow you to assign a null value to a flag variation. However, since it may be possible to create a feature flag with a null variation by other means, and also since defaultValue is nullable, you should assume that the return value might be null.