toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'userID': userID,
'name': name,
'cpf': name,
'email': email,
'gender': gender,
'birthday': birthday,
'location': location,
'customData': customData != null ? json.encode(customData) : null,
};
}