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