create static method
GetGroupCallStreamSegment
create({
- bool schemeUtilsIsSetDefaultData = false,
- String special_type = "getGroupCallStreamSegment",
- String special_return_type = "filePart",
- bool? is_tdlib_method,
- num? group_call_id,
- num? time_offset,
- num? scale,
- num? channel_id,
- GroupCallVideoQuality? video_quality,
override
Generate By AZKADEV | Azka Axelion Gibran Script Dont edit by hand or anything manual
Implementation
static GetGroupCallStreamSegment create({
bool schemeUtilsIsSetDefaultData = false,
String special_type = "getGroupCallStreamSegment",
String special_return_type = "filePart",
bool? is_tdlib_method,
num? group_call_id,
num? time_offset,
num? scale,
num? channel_id,
GroupCallVideoQuality? video_quality,
}) {
// GetGroupCallStreamSegment getGroupCallStreamSegment = GetGroupCallStreamSegment({
final Map getGroupCallStreamSegment_data_create_json = {
"@type": special_type,
"@return_type": special_return_type,
"is_tdlib_method": is_tdlib_method,
"group_call_id": group_call_id,
"time_offset": time_offset,
"scale": scale,
"channel_id": channel_id,
"video_quality": (video_quality != null) ? video_quality.toJson() : null,
};
getGroupCallStreamSegment_data_create_json.removeWhere((key, value) => value == null);
if (schemeUtilsIsSetDefaultData) {
defaultData.forEach((key, value) {
if (getGroupCallStreamSegment_data_create_json.containsKey(key) == false) {
getGroupCallStreamSegment_data_create_json[key] = value;
}
});
}
return GetGroupCallStreamSegment(getGroupCallStreamSegment_data_create_json);
}