picker<T> static method
Implementation
static FeatureFlag<T> picker<T>(
String name,
T defaultValue, {
String? description,
required Map<T, String> options,
T? Function(Object)? fromJson,
}) {
return FeatureFlag<T>._(
DevbarPickerVariableDefinition<T>(
name,
description: description,
options: options,
fromJson: fromJson,
defaultValue: defaultValue,
),
);
}