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