toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'residentTypeId': residentTypeId,
'genderId': genderId,
'birthdate': birthdate,
'secretWord': secretWord,
'individualName': individualName?.toMap(),
'identityDocument': identityDocument?.toMap(),
'registrationAddress': registrationAddress?.toMap(),
};
}