row<T> static method

SearchableChoiceDataRow row<T>({
  1. required T index,
  2. required String display,
})

row a function to generate the SearchableChoiceDataRow.

Implementation

static SearchableChoiceDataRow row<T>({required T index, required String display}) {
  return SearchableChoiceDataRow<T>(index: index, display: display);
}