import 'dart:convert';

Foot graphDataFromJson(String str) => Foot.fromJson(json.decode(str));

String graphDataToJson(Foot data) => json.encode(data.toJson());

class Foot {
  int? fadults;
  int? fkids;
  int? fteens;
  String? genderhourlygraph;
  String? hourlygraph;
  int? madults;
  int? mkids;
  int? mteens;
  int? total;

  Foot({
    this.fadults,
    this.fkids,
    this.fteens,
    this.genderhourlygraph,
    this.hourlygraph,
    this.madults,
    this.mkids,
    this.mteens,
    this.total,
  });

  factory Foot.fromJson(Map<String, dynamic> json) => Foot(
        fadults: json["Fadults"],
        fkids: json["Fkids"],
        fteens: json["Fteens"],
        genderhourlygraph: json["Genderhourlygraph"],
        hourlygraph: json["Hourlygraph"],
        madults: json["Madults"],
        mkids: json["Mkids"],
        mteens: json["Mteens"],
        total: json["TOTAL"],
  );

  Map<String, dynamic> toJson() => {
        "Fadults": fadults,
        "Fkids": fkids,
        "Fteens": fteens,
        "Genderhourlygraph": genderhourlygraph,
        "Hourlygraph": hourlygraph,
        "Madults": madults,
        "Mkids": mkids,
        "Mteens": mteens,
        "TOTAL": total,
   };
}
