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}) {
      // print("the form is : ${picker!.yearfrom}");


  this.data = data ?? <PickerItem<T>>[];
   print("the data after binded is : $data");
   print(this.data);
  _parseData(pickerdata);
}