StaticTextParser.fromJson constructor

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

Implementation

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