BehavioralAnalysis.fromJson constructor

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

Implementation

factory BehavioralAnalysis.fromJson(Map<String, dynamic> json) => BehavioralAnalysis(
  monthToMonthInflowToOutflowRate: json["monthToMonthInflowToOutflowRate"],
  overallInflowToOutflowRate: json["overallInflowToOutflowRate"],
  totalLoanAmount: json["totalLoanAmount"],
  totalLoanRepaymentAmount: json["totalLoanRepaymentAmount"],
  loanInflowRate: json["loanInflowRate"],
  loanRepaymentToInflowRate: json["loanRepaymentToInflowRate"],
  numberOfCreditLoanTransactions: json["numberOfCreditLoanTransactions"],
  numberOfDebitRepaymentTransactions: json["numberOfDebitRepaymentTransactions"],
  gamblingStatus: json["gamblingStatus"],
  gamblingRate: json["gamblingRate"],
  accountActivity: json["accountActivity"].toDouble(),
  percentOfInflowIrregularity: json["percentOfInflowIrregularity"].toDouble(),
  averageMonthlyLoanAmount: json["averageMonthlyLoanAmount"],
  averageMonthlyLoanRepaymentAmount: json["averageMonthlyLoanRepaymentAmount"],
  accountSweep: json["accountSweep"],
);