create static method

TemplateDataDirectory create({
  1. String special_type = "TemplateDataDirectory",
  2. String? name,
  3. String? path,
})
override

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;
}