OptionToString<T> typedef
OptionToString<T> =
String Function(T option)
The type of the AutocompleteLabel callback that converts an option value to a string which can be displayed in the widget's options menu.
See also:
- AutocompleteLabel.displayStringForOption, which is of this type.
Implementation
typedef OptionToString<T> = String Function(T option);