EditTextParser.fromJson constructor

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

Implementation

@override
EditTextParser.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'],
      long = json["long"] ?? false,
      readOnly = json['read_only'] ?? false,
      chosenValue = json['chosen_value'] ?? "";