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