create static method
TestVectorStringObject
create({
- bool schemeUtilsIsSetDefaultData = false,
- String special_type = "testVectorStringObject",
- String special_return_type = "testVectorStringObject",
- List<
TestString> ? value,
override
Generate By AZKADEV | Azka Axelion Gibran Script Dont edit by hand or anything manual
Implementation
static TestVectorStringObject create({
bool schemeUtilsIsSetDefaultData = false,
String special_type = "testVectorStringObject",
String special_return_type = "testVectorStringObject",
List<TestString>? value,
}) {
// TestVectorStringObject testVectorStringObject = TestVectorStringObject({
final Map testVectorStringObject_data_create_json = {
"@type": special_type,
"@return_type": special_return_type,
"value": (value != null) ? value.toJson() : null,
};
testVectorStringObject_data_create_json.removeWhere((key, value) => value == null);
if (schemeUtilsIsSetDefaultData) {
defaultData.forEach((key, value) {
if (testVectorStringObject_data_create_json.containsKey(key) == false) {
testVectorStringObject_data_create_json[key] = value;
}
});
}
return TestVectorStringObject(testVectorStringObject_data_create_json);
}