class CreateTransactionPinOTPRequest { String newTransPincode = ""; String channelCode = ""; String pctCstycode = ""; String porOrgacode = ""; String cmpCustcode = ""; bool isOtpRequire = false; String pinType = ""; CreateTransactionPinOTPRequest({ this.newTransPincode = "", this.channelCode = "", this.pctCstycode = "", this.porOrgacode = "", this.cmpCustcode = "", this.isOtpRequire = false, this.pinType = "", }); CreateTransactionPinOTPRequest.empty() : this.newTransPincode = "", this.channelCode = "", this.pctCstycode = "", this.porOrgacode = "", this.cmpCustcode = "", this.isOtpRequire = false, this.pinType = ""; Map toMap() { return { 'newTransPincode': newTransPincode, 'channelCode': channelCode, 'pctCstycode': pctCstycode, 'porOrgacode': porOrgacode, 'cmpCustcode': cmpCustcode, 'isOtpRequire': isOtpRequire, 'pinType': pinType, }; } factory CreateTransactionPinOTPRequest.fromMap(Map map) { return CreateTransactionPinOTPRequest( newTransPincode: map['newTransPincode'], channelCode: map['channelCode'], pctCstycode: map['pctCstycode'], porOrgacode: map['porOrgacode'], cmpCustcode: map['cmpCustcode'], isOtpRequire: map['isOtpRequire'], pinType: map['pinType'], ); } @override String toString() { return 'CreateTransactionPinOTPRequest{newTransPincode: $newTransPincode, channelCode: $channelCode, pctCstycode: $pctCstycode, porOrgacode: $porOrgacode, cmpCustcode: $cmpCustcode, isOtpRequire: $isOtpRequire, pinType: $pinType}'; } }