create static method

JsonSchemeRaw create({
  1. String special_type = "JsonSchemeRaw",
})

return original data json

Implementation

static JsonSchemeRaw create({
  String special_type = "JsonSchemeRaw",
}) {
  Map jsonCreate = {
    "@type": special_type,
  };

  jsonCreate.forEach((key, value) {
    try {
      if (value == null) {
        jsonCreate.remove(value);
        // jsonCreate[key] = value;
      }
    } catch (e, stack) {
      print("Azka ${e.toString()}, ${stack.toString()}");
    }
  });
  return JsonSchemeRaw(jsonCreate);
}