defaultStringForOption static method

String defaultStringForOption(
  1. Object? option
)

The default way to convert an option to a string in displayStringForOption.

Uses the toString method of the given option.

Implementation

static String defaultStringForOption(Object? option) {
  return option.toString();
}