create static method
return original data json
Implementation
static TemplateDataDirectory create({
String special_type = "TemplateDataDirectory",
String? name,
String? path,
}) {
// TemplateDataDirectory templateDataDirectory = TemplateDataDirectory({
Map templateDataDirectory_data_create_json = {
"@type": special_type,
"name": name,
"path": path,
};
templateDataDirectory_data_create_json
.removeWhere((key, value) => value == null);
TemplateDataDirectory templateDataDirectory_data_create =
TemplateDataDirectory(templateDataDirectory_data_create_json);
return templateDataDirectory_data_create;
}