create static method

CpuData create({
  1. bool schemeUtilsIsSetDefaultData = false,
  2. String special_type = "cpuData",
  3. String? name,
})
override

return original data json

Implementation

static CpuData create({
            bool schemeUtilsIsSetDefaultData = false,

  String special_type = "cpuData",
  String? name,
})  {
  // CpuData cpuData = CpuData({
final Map cpuData_data_create_json = {

    "@type": special_type,
    "name": name,


};


        cpuData_data_create_json.removeWhere((key, value) => value == null);

  if (schemeUtilsIsSetDefaultData) {
    defaultData.forEach((key, value) {
      if (cpuData_data_create_json.containsKey(key) == false) {
        cpuData_data_create_json[key] = value;
      }
    });
  }
return CpuData(cpuData_data_create_json);


    }