create static method

TextParseModeMarkdown create({
  1. bool schemeUtilsIsSetDefaultData = false,
  2. String special_type = "textParseModeMarkdown",
  3. String special_return_type = "textParseMode",
  4. num? version,
})
override

Generate By AZKADEV | Azka Axelion Gibran Script Dont edit by hand or anything manual

Implementation

static TextParseModeMarkdown create({
  bool schemeUtilsIsSetDefaultData = false,
  String special_type = "textParseModeMarkdown",
  String special_return_type = "textParseMode",
  num? version,
}) {
  // TextParseModeMarkdown textParseModeMarkdown = TextParseModeMarkdown({
  final Map textParseModeMarkdown_data_create_json = {
    "@type": special_type,
    "@return_type": special_return_type,
    "version": version,
  };

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

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