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