Title.fromJson constructor

Title.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Title.fromJson(Map<String, dynamic> json) => Title(
      id: json["id"],
      label: json["label"],
      description: json["description"],
      type: typeValues.map[json["type"]],
      value: json["value"],
      titleDefault: json["default"],
      tip: json["tip"],
      placeholder: placeholderValues.map[json["placeholder"]],
      options: json["options"] == null
          ? null
          : TitleOptions.fromJson(json["options"]),
    );