defaultStringForOption method Null safety
- dynamic option
The default way to convert an option to a string in displayStringForOption.
Simply uses the toString
method on the option.
Implementation
static String defaultStringForOption(dynamic option) {
return option.toString();
}