KeyedOption<K, V>.ofToString constructor
KeyedOption<K, V>.ofToString (})
Implementation
factory KeyedOption.ofToString(
K key,
V value, {
String? label,
icon,
List? subtitle,
String? selection,
List<String> extraTokens = const [],
}) =>
_KeyedOption(
key,
value,
label: label ?? "$value",
icon: icon,
subtitle: subtitle,
selection: selection,
extraTokens: extraTokens,
);