PickerDataAdapter<T> constructor

PickerDataAdapter<T>({
  1. List? pickerData,
  2. List<PickerItem<T>>? data,
  3. bool isArray = false,
})

Implementation

PickerDataAdapter(
    {List? pickerData, List<PickerItem<T>>? data, this.isArray = false}) {
  this.data = data ?? <PickerItem<T>>[];
  _parseData(pickerData);
}