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