create static method
BlogsData
create({
- String special_type = "blogsData",
- String? blog_id,
- String? title,
- String? description,
- String? content,
override
return original data json
Implementation
static BlogsData create({
String special_type = "blogsData",
String? blog_id,
String? title,
String? description,
String? content,
}) {
// BlogsData blogsData = BlogsData({
Map blogsData_data_create_json = {
"@type": special_type,
"blog_id": blog_id,
"title": title,
"description": description,
"content": content,
};
blogsData_data_create_json.removeWhere((key, value) => value == null);
BlogsData blogsData_data_create = BlogsData(blogsData_data_create_json);
return blogsData_data_create;
}