encode method
Implementation
@override
dynamic encode(InventoryManagementEnums self) {
switch (self) {
case InventoryManagementEnums.waybill_quantity:
return "waybill_quantity";
case InventoryManagementEnums.vehicle_number:
return "vehicle_number";
case InventoryManagementEnums.comments:
return "comments";
case InventoryManagementEnums.deliveryTeam:
return "deliveryTeam";
case InventoryManagementEnums.lat:
return "lat";
case InventoryManagementEnums.lng:
return "lng";
case InventoryManagementEnums.name:
return "name";
case InventoryManagementEnums.userName:
return "userName";
}
}