encode static method
Implementation
static Map<String, dynamic> encode(FlowItem value) {
Map<String, dynamic> entityAsMap = {
"id" : value.id,
"title" : value.title,
"comment" : value.comment,
"receptionDate" : value.receptionDate,
"processingDate" : value.processingDate,
"processer" : value.processer,
"cancellationDate" : value.cancellationDate,
"canceller" : value.canceller,
"cancellationReason" : value.cancellationReason,
"cancellationNote" : value.cancellationNote,
"status" : value.status,
"homeVisit" : value.homeVisit,
"municipality" : value.municipality,
"town" : value.town,
"zipCode" : value.zipCode,
"street" : value.street,
"building" : value.building,
"buildingNumber" : value.buildingNumber,
"doorbellName" : value.doorbellName,
"floor" : value.floor,
"letterBox" : value.letterBox,
"notesOps" : value.notesOps,
"notesContact" : value.notesContact,
"latitude" : value.latitude,
"longitude" : value.longitude,
"type" : value.type,
"emergency" : value.emergency,
"phoneNumber" : value.phoneNumber,
"patientId" : value.patientId,
"patientLastName" : value.patientLastName,
"patientFirstName" : value.patientFirstName,
"description" : value.description,
"interventionCode" : value.interventionCode
};
return entityAsMap;
}