create static method

JsonValueString create({
  1. bool schemeUtilsIsSetDefaultData = false,
  2. String special_type = "jsonValueString",
  3. String special_return_type = "jsonValue",
  4. String? value,
})
override

Generate By General Universe Script Dont edit by hand or anything manual

Implementation

static JsonValueString create({
  bool schemeUtilsIsSetDefaultData = false,
  String special_type = "jsonValueString",
  String special_return_type = "jsonValue",
  String? value,
}) {
  // JsonValueString jsonValueString = JsonValueString({
  final Map jsonValueString_data_create_json = {
    "@type": special_type,
    "@return_type": special_return_type,
    "value": value,
  };

  jsonValueString_data_create_json.removeWhere((key, value) => value == null);

  if (schemeUtilsIsSetDefaultData) {
    defaultData.forEach((key, value) {
      if (jsonValueString_data_create_json.containsKey(key) == false) {
        jsonValueString_data_create_json[key] = value;
      }
    });
  }
  return JsonValueString(jsonValueString_data_create_json);
}