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