create static method

FootersData create({
  1. String special_type = "footersData",
  2. String? title,
  3. List<FooterData>? footer,
})
override

return original data json

Implementation

static FootersData create({
  String special_type = "footersData",
  String? title,
  List<FooterData>? footer,
}) {
  // FootersData footersData = FootersData({
  Map footersData_data_create_json = {
    "@type": special_type,
    "title": title,
    "footer": (footer != null) ? footer.toJson() : null,
  };

  footersData_data_create_json.removeWhere((key, value) => value == null);
  FootersData footersData_data_create =
      FootersData(footersData_data_create_json);

  return footersData_data_create;
}