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