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