TSelectItem<V> constructor

TSelectItem<V>({
  1. required String text,
  2. required V value,
  3. String? key,
  4. List<TSelectItem<V>>? children,
})

Implementation

TSelectItem({
  required this.text,
  required this.value,
  String? key,
  this.children,
}) : key = key ?? '${text}_$value';