create static method

TestString create({
  1. bool schemeUtilsIsSetDefaultData = false,
  2. String special_type = "testString",
  3. String special_return_type = "testString",
  4. String? value,
})
override

Generate By General Universe Script Dont edit by hand or anything manual

Implementation

static TestString create({
  bool schemeUtilsIsSetDefaultData = false,
  String special_type = "testString",
  String special_return_type = "testString",
  String? value,
}) {
  // TestString testString = TestString({
  final Map testString_data_create_json = {
    "@type": special_type,
    "@return_type": special_return_type,
    "value": value,
  };

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

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