StaticTextParser.fromJson constructor

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

Implementation

StaticTextParser.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'],
      chosenValue = json['chosen_value'] ?? "";