toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['userId'] = this.userId;
data['title'] = this.title;
data['firstName'] = this.firstName;
data['middleName'] = this.middleName;
data['lastName'] = this.lastName;
data['fullName'] = this.fullName;
data['firstNameNen'] = this.firstNameNen;
data['middleNameNen'] = this.middleNameNen;
data['lastNameNen'] = this.lastNameNen;
data['fullNameNen'] = this.fullNameNen;
data['username'] = this.username;
data['mobileNumber'] = this.mobileNumber;
data['emailId'] = this.emailId;
data['positionId'] = this.positionId;
data['hierarchyId'] = this.hierarchyId;
data['levelId'] = this.levelId;
data['levelName'] = this.levelName;
data['commercialChannel'] = this.commercialChannel;
data['commercialChannelName'] = this.commercialChannelName;
data['designationId'] = this.designationId;
data['designationName'] = this.designationName;
data['partnerId'] = this.partnerId;
data['partnerName'] = this.partnerName;
data['parentUserId'] = this.parentUserId;
data['parentUserFullName'] = this.parentUserFullName;
data['status'] = this.status;
data['statusName'] = this.statusName;
data['address'] = this.address;
data['location'] = this.location;
data['locale'] = this.locale;
data['localeName'] = this.localeName;
data['employeeId'] = this.employeeId;
data['externalSystemId'] = this.externalSystemId;
data['userType'] = this.userType;
data['userTypeName'] = this.userTypeName;
data['joiningDate'] = this.joiningDate;
data['startDate'] = this.startDate;
data['endDate'] = this.endDate;
data['remark'] = this.remark;
data['emailValidated'] = this.emailValidated;
data['phoneValidated'] = this.phoneValidated;
data['createdDate'] = this.createdDate;
data['createdBy'] = this.createdBy;
data['createdByName'] = this.createdByName;
data['lastModifiedDate'] = this.lastModifiedDate;
data['lastModifiedBy'] = this.lastModifiedBy;
data['lastModifiedByName'] = this.lastModifiedByName;
data['parentPositionId'] = this.parentPositionId;
data['softDelete'] = this.softDelete;
data['profileImageId'] = this.profileImageId;
data['parentDesignationId'] = this.parentDesignationId;
data['accountMapping'] = this.accountMapping;
data['maintainedPartners'] = this.maintainedPartners;
data['locations'] = this.locations;
data['maintainer'] = this.maintainer;
data['isSalesForce'] = this.isSalesForce;
return data;
}