import 'package:get/get.dart'; import '../../models/DepositAccountResponse.dart'; import '../../models/ExchangeRate.dart'; import '../../models/GlsResponseModel.dart'; import '../../models/UserInfo.dart'; import 'FingerPrintController.dart'; class SessionCache { static final SessionCache _instance = SessionCache._internal(); factory SessionCache() { return _instance; } SessionCache._internal(); FingerPrintController _fingerPrintController = FingerPrintController(); UserInfo userInfo = UserInfo(); RxList _depositAccountList = RxList.empty(); RxList _exchangeRateList = RxList.empty(); RxList _glsAccountsList = RxList.empty(); // RxList _paymentPurposeList = RxList.empty(); // RxList _loanAccountList = RxList.empty(); // List _beneficiaryAccountList = []; // List _favBeneficiaryAccountList = []; static SessionCache get instance => _instance; RxList get exchangeRateList => _exchangeRateList; RxList get glsAccountsList => _glsAccountsList; set glsAccountsList(RxList value) { _glsAccountsList = value; } set exchangeRateList(RxList value) { _exchangeRateList = value; } //RxList get paymentPurposeList => _paymentPurposeList; // set paymentPurposeList(RxList value) { // _paymentPurposeList = value; // } RxList get depositAccountList => _depositAccountList; // List get favBeneficiaryAccountList => _favBeneficiaryAccountList; // FingerPrintController get fingerPrintController => _fingerPrintController; // // RxList get loanAccountList => _loanAccountList; // // List get beneficiaryAccountList => _beneficiaryAccountList; // // set favBeneficiaryAccountList(List value) { // _favBeneficiaryAccountList = value; // } // // set fingerPrintController(FingerPrintController value) { // _fingerPrintController = value; // } setDepositAccountList(RxList value) { _depositAccountList = value; } // set loanAccountList(RxList value) { // _loanAccountList = value; // } // // set beneficiaryAccountList(List value) { // _beneficiaryAccountList = value; // } }