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);
}