create static method
UpdateLanguagePackStrings
create({
- bool schemeUtilsIsSetDefaultData = false,
- String special_type = "updateLanguagePackStrings",
- String special_return_type = "update",
- String? localization_target,
- String? language_pack_id,
- List<
LanguagePackString> ? strings,
override
Generate By General Universe Script Dont edit by hand or anything manual
Implementation
static UpdateLanguagePackStrings create({
bool schemeUtilsIsSetDefaultData = false,
String special_type = "updateLanguagePackStrings",
String special_return_type = "update",
String? localization_target,
String? language_pack_id,
List<LanguagePackString>? strings,
}) {
// UpdateLanguagePackStrings updateLanguagePackStrings = UpdateLanguagePackStrings({
final Map updateLanguagePackStrings_data_create_json = {
"@type": special_type,
"@return_type": special_return_type,
"localization_target": localization_target,
"language_pack_id": language_pack_id,
"strings": (strings != null) ? strings.toJson() : null,
};
updateLanguagePackStrings_data_create_json.removeWhere((key, value) => value == null);
if (schemeUtilsIsSetDefaultData) {
defaultData.forEach((key, value) {
if (updateLanguagePackStrings_data_create_json.containsKey(key) == false) {
updateLanguagePackStrings_data_create_json[key] = value;
}
});
}
return UpdateLanguagePackStrings(updateLanguagePackStrings_data_create_json);
}