create static method
FoundPosition
create({
- bool schemeUtilsIsSetDefaultData = false,
- String special_type = "foundPosition",
- String special_return_type = "foundPosition",
- num? position,
override
Generate By General Universe Script Dont edit by hand or anything manual
Implementation
static FoundPosition create({
bool schemeUtilsIsSetDefaultData = false,
String special_type = "foundPosition",
String special_return_type = "foundPosition",
num? position,
}) {
// FoundPosition foundPosition = FoundPosition({
final Map foundPosition_data_create_json = {
"@type": special_type,
"@return_type": special_return_type,
"position": position,
};
foundPosition_data_create_json.removeWhere((key, value) => value == null);
if (schemeUtilsIsSetDefaultData) {
defaultData.forEach((key, value) {
if (foundPosition_data_create_json.containsKey(key) == false) {
foundPosition_data_create_json[key] = value;
}
});
}
return FoundPosition(foundPosition_data_create_json);
}