encode static method
Implementation
static Map<String, dynamic> encode(Partnership value) {
Map<String, dynamic> entityAsMap = {
"type" : value.type == null ? null : PartnershipType.encode(value.type!),
"status" : value.status == null ? null : PartnershipStatus.encode(value.status!),
"partnerId" : value.partnerId,
"meToOtherRelationshipDescription" : value.meToOtherRelationshipDescription,
"otherToMeRelationshipDescription" : value.otherToMeRelationshipDescription
};
return entityAsMap;
}