create static method

UpdateLanguagePackStrings create({
  1. bool schemeUtilsIsSetDefaultData = false,
  2. String special_type = "updateLanguagePackStrings",
  3. String special_return_type = "update",
  4. String? localization_target,
  5. String? language_pack_id,
  6. 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);
}