create static method
UpdateChatBlockList
create({
- bool schemeUtilsIsSetDefaultData = false,
- String special_type = "updateChatBlockList",
- String special_return_type = "update",
- num? chat_id,
- BlockList? block_list,
override
Generate By General Universe Script Dont edit by hand or anything manual
Implementation
static UpdateChatBlockList create({
bool schemeUtilsIsSetDefaultData = false,
String special_type = "updateChatBlockList",
String special_return_type = "update",
num? chat_id,
BlockList? block_list,
}) {
// UpdateChatBlockList updateChatBlockList = UpdateChatBlockList({
final Map updateChatBlockList_data_create_json = {
"@type": special_type,
"@return_type": special_return_type,
"chat_id": chat_id,
"block_list": (block_list != null) ? block_list.toJson() : null,
};
updateChatBlockList_data_create_json.removeWhere((key, value) => value == null);
if (schemeUtilsIsSetDefaultData) {
defaultData.forEach((key, value) {
if (updateChatBlockList_data_create_json.containsKey(key) == false) {
updateChatBlockList_data_create_json[key] = value;
}
});
}
return UpdateChatBlockList(updateChatBlockList_data_create_json);
}