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