class CreateTransactionPinRequest { String channelCode = ""; String pctCstycode = ""; String porOrgacode = ""; String cmpCustcode = ""; String email = ""; String obpPincode = ""; String pinType = ""; CreateTransactionPinRequest({ this.channelCode = "", this.pctCstycode = "", this.porOrgacode = "", this.cmpCustcode = "", this.email = "", this.obpPincode = "", this.pinType = "", }); Map toMap() { return { 'channelCode': this.channelCode, 'pctCstycode': this.pctCstycode, 'porOrgacode': this.porOrgacode, 'cmpCustcode': this.cmpCustcode, 'email': this.email, 'obpPincode': this.obpPincode, 'pinType': this.pinType, }; } factory CreateTransactionPinRequest.fromMap(Map map) { return CreateTransactionPinRequest( channelCode: map['channelCode'] ?? "", pctCstycode: map['pctCstycode'] ?? "", porOrgacode: map['porOrgacode'] ?? "", cmpCustcode: map['cmpCustcode'] ?? "", email: map['email'] ?? "", obpPincode: map['obpPincode'] ?? "", pinType: map['pinType'] ?? "", ); } @override String toString() { return 'CreateTransactionPinRequest{channelCode: $channelCode, pctCstycode: $pctCstycode, porOrgacode: $porOrgacode, cmpCustcode: $cmpCustcode, email: $email, obpPincode: $obpPincode, pinType: $pinType}'; } }