toJson method
Implementation
Map<String, dynamic> toJson() => {
"status": status,
"msg": msg,
"key": key,
"name": name,
"source": source,
"clientBvn": clientBvn,
"clientNin": clientNin,
"clientFullName": clientFullName,
"clientPhoneNumber": clientPhoneNumber,
"accountType": accountType,
"accountBalance": accountBalance,
"accountId": accountId,
"accountName": accountName,
"bankName": bankName,
"startDate": startDate?.toIso8601String(),
"endDate": endDate?.toIso8601String(),
"createdDate": createdDate?.toIso8601String(),
"processingStatus": processingStatus,
"spendAnalysis": spendAnalysis?.toJson(),
"transactionPatternAnalysis": transactionPatternAnalysis?.toJson(),
"behavioralAnalysis": behavioralAnalysis?.toJson(),
"cashFlowAnalysis": cashFlowAnalysis?.toJson(),
"incomeAnalysis": incomeAnalysis?.toJson(),
"confidenceOnParsing": confidenceOnParsing,
};