toJson method
Implementation
Map<String, dynamic> toJson() => {
"id": id,
"label": label,
"description": description,
"type": type,
"default": updateDefault,
"options": options == null
? null
: Map.from(options!).map((k, v) => MapEntry<String, dynamic>(k, v)),
"tip": tip,
"value": value,
"_links": links!.toJson(),
};