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