create static method

ProjectData create({
  1. String special_type = "projectData",
  2. String? name,
  3. String? directory_out_path,
  4. String? message,
})
override

return original data json

Implementation

static ProjectData create({
  String special_type = "projectData",
  String? name,
  String? directory_out_path,
  String? message,
}) {
  // ProjectData projectData = ProjectData({
  Map projectData_data_create_json = {
    "@type": special_type,
    "name": name,
    "directory_out_path": directory_out_path,
    "message": message,
  };

  projectData_data_create_json.removeWhere((key, value) => value == null);
  ProjectData projectData_data_create =
      ProjectData(projectData_data_create_json);

  return projectData_data_create;
}