EditTextValueModel.fromJson constructor

EditTextValueModel.fromJson(
  1. Map<String, dynamic> json,
  2. String type,
  3. bool isBeforeHeader
)

Implementation

EditTextValueModel.fromJson(Map<String, dynamic> json, String type, bool isBeforeHeader)
    : name = json['name'],
      description = json['description'],
      time = json['time'],
      long = json["long"] ?? false,
      isReadOnly = json['read_only'] ?? false,
      chosenValue = json['chosen_value'] ?? "", super(json['id'], type, isBeforeHeader);