TSelectItem<V>.fromRecord constructor

TSelectItem<V>.fromRecord(
  1. TSelectRecord<V> record
)

Implementation

factory TSelectItem.fromRecord(TSelectRecord<V> record) {
  return TSelectItem(
    text: record.text,
    value: record.value,
    key: record.key,
  );
}