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