toJson method
Implementation
Json toJson() {
return {
'userId': userId,
'userName': userName,
'fullName': fullName,
'email': email,
'phoneNumber': phoneNumber,
'additionalInfo': additionalInfo,
};
}
Json toJson() {
return {
'userId': userId,
'userName': userName,
'fullName': fullName,
'email': email,
'phoneNumber': phoneNumber,
'additionalInfo': additionalInfo,
};
}