stringVariation method Null safety
Returns the value of flag flagKey
for the current user as a string.
Will return the provided defaultValue
if the flag is missing, not a string, or if some error occurs.
Implementation
static Future<String?> stringVariation(String flagKey, String? defaultValue) async {
return _channel.invokeMethod('stringVariation', {'flagKey': flagKey, 'defaultValue': defaultValue });
}