toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'id': id,
'fullName': fullName,
'workEmail': workEmail,
'password': password,
'profileImage': profileImage,
'coverImage': coverImage,
'emailVerified': emailVerified,
'verificationToken': verificationToken,
'tokenExpiration': tokenExpiration,
'createdAt': createdAt,
'shouldNavigateToDashboard': shouldNavigateToDashboard,
'userOrganisationRole': userOrganisationRole,
'signUpType': signUpType,
'enabled': enabled,
'authorities': authorities,
'accountNonExpired': accountNonExpired,
'accountNonLocked': accountNonLocked,
'credentialsNonExpired': credentialsNonExpired,
};
}