OptionToString<T> typedef Null safety

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:

Implementation

typedef OptionToString<T> = String Function(T option);