User.fromJson constructor
Implementation
factory User.fromJson(Map<String, dynamic> json) {
return User(
firstName: json['firstName'],
lastName: json['lastName'],
prefix: json['prefix'],
isArchived: json['archived'],
hasPassword: json['hasPassword'],
isApplicationManager: json['isApplicationManager'],
isStudent: json['isStudent'],
isEmployee: json['isEmployee'],
isFamilyMember: json['isFamilyMember'],
isSchoolScheduler: json['isSchoolScheduler'],
isSchoolLeader: json['isSchoolLeader'],
isStudentAdministrator: json['isStudentAdministrator'],
isTeamLeader: json['isTeamLeader'],
isSectionLeader: json['isSectionLeader'],
isMentor: json['isMentor'],
isDean: json['isDean'],
);
}