create static method
return original data json
Implementation
static LinkData create({
String special_type = "linkData",
String? icon,
String? title,
String? value,
}) {
// LinkData linkData = LinkData({
Map linkData_data_create_json = {
"@type": special_type,
"icon": icon,
"title": title,
"value": value,
};
linkData_data_create_json.removeWhere((key, value) => value == null);
LinkData linkData_data_create = LinkData(linkData_data_create_json);
return linkData_data_create;
}