SpendAnalysis.fromJson constructor

SpendAnalysis.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory SpendAnalysis.fromJson(Map<String, dynamic> json) => SpendAnalysis(
  averageMonthlySpendOnTransfer: json["averageMonthlySpendOnTransfer"].toDouble(),
  averageMonthlySpendOnAtmAndPos: json["averageMonthlySpendOnAtmAndPOS"],
  averageMonthlySpendOnUssd: json["averageMonthlySpendOnUSSD"].toDouble(),
  averageMonthlySpendOnGambling: json["averageMonthlySpendOnGambling"],
  averageMonthlySpendOnAirtimeAndData: json["averageMonthlySpendOnAirtimeAndData"].toDouble(),
  averageMonthlySpendOnUtilities: json["averageMonthlySpendOnUtilities"],
  averageMonthlySpendOnOnlineAndWeb: json["averageMonthlySpendOnOnlineAndWeb"],
  averageMonthlySpendOnTransportation: json["averageMonthlySpendOnTransportation"],
  averageMonthlySpendOnHealth: json["averageMonthlySpendOnHealth"],
  averageMonthlySpendOnTravel: json["averageMonthlySpendOnTravel"],
  averageMonthlySpendOnEntertainment: json["averageMonthlySpendOnEntertainment"],
  averageMonthlySpendOnHospitalityAndFood: json["averageMonthlySpendOnHospitalityAndFood"],
  averageMonthlySpendOnRent: json["averageMonthlySpendOnRent"],
  averageMonthlySpendOnInsurance: json["averageMonthlySpendOnInsurance"],
  averageMonthlySpendOnChargesAndStampDuty: json["averageMonthlySpendOnChargesAndStampDuty"].toDouble(),
  averageMonthlySpendOnInternationalTransactions: json["averageMonthlySpendOnInternationalTransactions"],
  averageMonthlyTotalExpenses: json["averageMonthlyTotalExpenses"].toDouble(),
  averageMonthlyRecurringExpense: json["averageMonthlyRecurringExpense"],
  mostRecurringExpense: json["mostRecurringExpense"],
  totalSpendOnTransfer: json["totalSpendOnTransfer"].toDouble(),
  totalSpendOnAtmAndPos: json["totalSpendOnAtmAndPOS"],
  totalSpendOnUssd: json["totalSpendOnUSSD"].toDouble(),
  totalSpendOnGambling: json["totalSpendOnGambling"],
  totalSpendOnAirtimeAndData: json["totalSpendOnAirtimeAndData"],
  totalSpendOnUtilities: json["totalSpendOnUtilities"],
  totalSpendOnOnlineAndWeb: json["totalSpendOnOnlineAndWeb"],
  totalSpendOnTransportation: json["totalSpendOnTransportation"],
  totalSpendOnHealth: json["totalSpendOnHealth"],
  totalSpendOnTravel: json["totalSpendOnTravel"],
  totalSpendOnEntertainment: json["totalSpendOnEntertainment"],
  totalSpendOnHospitalityAndFood: json["totalSpendOnHospitalityAndFood"],
  totalSpendOnRent: json["totalSpendOnRent"],
  totalSpendOnInsurance: json["totalSpendOnInsurance"],
  totalSpendOnChargesAndStampDuty: json["totalSpendOnChargesAndStampDuty"].toDouble(),
  totalSpendOnInternationalTransactions: json["totalSpendOnInternationalTransactions"],
  totalMonthlyExpenses: json["totalMonthlyExpenses"].toDouble(),
  totalRecurringExpense: json["totalRecurringExpense"],
  totalExpenses: json["totalExpenses"],
  totalMonthlyExpense: json["totalMonthlyExpense"],
  atmLocations: json["atmLocations"],
);