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}) {
// print("the form is : ${picker!.yearfrom}");
this.data = data ?? <PickerItem<T>>[];
print("the data after binded is : $data");
print(this.data);
_parseData(pickerdata);
}