encode static method
Implementation
static Map<String, dynamic> encode(EmploymentInfo value) {
Map<String, dynamic> entityAsMap = {
"startDate" : value.startDate,
"endDate" : value.endDate,
"professionType" : value.professionType == null ? null : CodeStub.encode(value.professionType!),
"employer" : value.employer == null ? null : Employer.encode(value.employer!)
};
return entityAsMap;
}