toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'userId': userId,
'userName': userName,
'phoneNumber': phoneNumber,
'application': application,
'email': email,
'profileImageUrl': profileImageUrl,
'customAttributes': customAttributes,
'role': role,
'client': client
};
}