create static method
GetJsonString
create({
- bool schemeUtilsIsSetDefaultData = false,
- String special_type = "getJsonString",
- String special_return_type = "text",
- bool? is_tdlib_method,
- JsonValue? json_value,
override
Generate By AZKADEV | Azka Axelion Gibran Script Dont edit by hand or anything manual
Implementation
static GetJsonString create({
bool schemeUtilsIsSetDefaultData = false,
String special_type = "getJsonString",
String special_return_type = "text",
bool? is_tdlib_method,
JsonValue? json_value,
}) {
// GetJsonString getJsonString = GetJsonString({
final Map getJsonString_data_create_json = {
"@type": special_type,
"@return_type": special_return_type,
"is_tdlib_method": is_tdlib_method,
"json_value": (json_value != null) ? json_value.toJson() : null,
};
getJsonString_data_create_json.removeWhere((key, value) => value == null);
if (schemeUtilsIsSetDefaultData) {
defaultData.forEach((key, value) {
if (getJsonString_data_create_json.containsKey(key) == false) {
getJsonString_data_create_json[key] = value;
}
});
}
return GetJsonString(getJsonString_data_create_json);
}