create static method

LanguageDetailData create({
  1. String special_type = "languageDetailData",
  2. String? name,
  3. String? flag,
  4. String? code,
  5. String? dial_code,
})
override

return original data json

Implementation

static LanguageDetailData create({
  String special_type = "languageDetailData",
  String? name,
  String? flag,
  String? code,
  String? dial_code,
}) {
  // LanguageDetailData languageDetailData = LanguageDetailData({

  LanguageDetailData languageDetailData_data_create = LanguageDetailData({
    "@type": special_type,
    "name": name,
    "flag": flag,
    "code": code,
    "dial_code": dial_code,
  });

// return languageDetailData;
  return languageDetailData_data_create;
}