DropDownParser.fromJson constructor

DropDownParser.fromJson(
  1. Map<String, dynamic> json,
  2. OnValueChanged onValueChanged,
  3. bool isBeforeHeader,
  4. int index,
)

Implementation

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