encode static method

Map<String, dynamic> encode(
  1. EmploymentInfo value
)

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;
}