create static method
ChatInviteLinkCount
create({
- bool schemeUtilsIsSetDefaultData = false,
- String special_type = "chatInviteLinkCount",
- String special_return_type = "chatInviteLinkCount",
- num? user_id,
- num? invite_link_count,
- num? revoked_invite_link_count,
override
Generate By AZKADEV | Azka Axelion Gibran Script Dont edit by hand or anything manual
Implementation
static ChatInviteLinkCount create({
bool schemeUtilsIsSetDefaultData = false,
String special_type = "chatInviteLinkCount",
String special_return_type = "chatInviteLinkCount",
num? user_id,
num? invite_link_count,
num? revoked_invite_link_count,
}) {
// ChatInviteLinkCount chatInviteLinkCount = ChatInviteLinkCount({
final Map chatInviteLinkCount_data_create_json = {
"@type": special_type,
"@return_type": special_return_type,
"user_id": user_id,
"invite_link_count": invite_link_count,
"revoked_invite_link_count": revoked_invite_link_count,
};
chatInviteLinkCount_data_create_json.removeWhere((key, value) => value == null);
if (schemeUtilsIsSetDefaultData) {
defaultData.forEach((key, value) {
if (chatInviteLinkCount_data_create_json.containsKey(key) == false) {
chatInviteLinkCount_data_create_json[key] = value;
}
});
}
return ChatInviteLinkCount(chatInviteLinkCount_data_create_json);
}