StaticTextModel.fromJson constructor

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

Implementation

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