DropDownParser.fromJson constructor

DropDownParser.fromJson(
  1. Map<String, dynamic> json,
  2. OnValueChanged? onValueChanged,
  3. bool isBeforeHeader,
  4. int index, [
  5. Widget dateBuilder(
    1. int date
    )?,
])

Implementation

DropDownParser.fromJson(Map<String, dynamic> json, this.onValueChanged,
    this.isBeforeHeader, this.index,
    [this.dateBuilder])
    : name = json['name'],
      description = json['description'],
      id = json['id'],
      time = json['time'],
      values = json['values'].cast<String>(),
      chosenValue = json['chosen_value'];