create static method
return original data json
Implementation
static TemplateData create({
String special_type = "TemplateData",
String? name,
String? path,
List<int>? data,
}) {
// TemplateData templateData = TemplateData({
Map templateData_data_create_json = {
"@type": special_type,
"name": name,
"path": path,
"data": data,
};
templateData_data_create_json.removeWhere((key, value) => value == null);
TemplateData templateData_data_create =
TemplateData(templateData_data_create_json);
return templateData_data_create;
}