Update.fromJson constructor
Implementation
factory Update.fromJson(Map<String, dynamic> json) => Update(
id: json["id"],
label: json["label"],
description: json["description"],
type: json["type"],
updateDefault: json["default"],
options: json["options"] == null
? null
: Map.from(json["options"])
.map((k, v) => MapEntry<String, String>(k, v)),
tip: json["tip"],
value: json["value"],
links: Links.fromJson(json["_links"]),
);