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