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