create static method
TestString
create({
- bool schemeUtilsIsSetDefaultData = false,
- String special_type = "testString",
- String special_return_type = "testString",
- 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);
}