create static method
return original data json
Implementation
static JsonScheme create({
String special_type = "JsonScheme",
}) {
Map jsonCreate = {
"@type": special_type,
};
jsonCreate.forEach((key, value) {
try {
if (value == null) {
jsonCreate.remove(key);
// jsonCreate[key] = value;
}
} catch (e, stack) {
print("Azka ${e.toString()}, ${stack.toString()}");
}
});
return JsonScheme(jsonCreate);
}