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