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