import 'package:flutter/cupertino.dart'; import 'package:get/get.dart'; import 'package:json_annotation/json_annotation.dart'; // @JsonSerializable(includeIfNull: false) class UserInfo { String name; String userRole; String porOrgacode; String pctCstycode; String plcLocalcode; String channelCode; String cmpCustpassword; String newCustpassword; String cmpCustcode; String cmpUserId; String cmpCuststatus; String jwtToken; String refreshToken; bool isKycVerified; bool isTranPinSet; String cmpCustlastlogin; UserInfo({ this.name = '', this.refreshToken = '', this.userRole = '', this.cmpCustcode = '', this.isKycVerified = false, this.isTranPinSet = false, this.cmpUserId = '', this.porOrgacode = '', this.channelCode = '', /* this.cmpAccountno = ''*/ this.cmpCustlastlogin = '', this.cmpCustpassword = '', this.cmpCuststatus = '', /* this.cmpFirstname = '', this.cmpIdennumber = '', this.cmpLastname = '', this.cmpUserIdType = ''*/ this.jwtToken = '', this.newCustpassword = '', /*this.obpPincode = '',*/ this.pctCstycode = '', /* this.phoneNo = '',*/ this.plcLocalcode = '', /*this.token = ''*/ }); @override String toString() { return 'UserInfo{name: $name, userRole: $userRole, porOrgacode: $porOrgacode, pctCstycode: $pctCstycode, plcLocalcode: $plcLocalcode, channelCode: $channelCode, cmpCustpassword: $cmpCustpassword, newCustpassword: $newCustpassword, cmpCustcode: $cmpCustcode, cmpUserId: $cmpUserId, cmpCuststatus: $cmpCuststatus, jwtToken: $jwtToken, refreshToken: $refreshToken, isKycVerified: $isKycVerified, isTranPinSet: $isTranPinSet, cmpCustlastlogin: $cmpCustlastlogin}'; } }