create static method

MarkdownData create({
  1. String special_type = "markdownData",
  2. String? data,
})
override

return original data json

Implementation

static MarkdownData create({
  String special_type = "markdownData",
  String? data,
}) {
  // MarkdownData markdownData = MarkdownData({

  MarkdownData markdownData_data_create = MarkdownData({
    "@type": special_type,
    "data": data,
  });

// return markdownData;
  return markdownData_data_create;
}