create static method

FooterData create({
  1. String special_type = "footerData",
  2. String? title,
  3. String? url,
  4. String? text,
})
override

return original data json

Implementation

static FooterData create({
  String special_type = "footerData",
  String? title,
  String? url,
  String? text,
}) {
  // FooterData footerData = FooterData({
  Map footerData_data_create_json = {
    "@type": special_type,
    "title": title,
    "url": url,
    "text": text,
  };

  footerData_data_create_json.removeWhere((key, value) => value == null);
  FooterData footerData_data_create = FooterData(footerData_data_create_json);

  return footerData_data_create;
}