encode method
Implementation
@override
dynamic encode(DSSEnums self) {
switch (self) {
case DSSEnums.metric:
return "metric";
case DSSEnums.table:
return "xtable";
case DSSEnums.serialNumber:
return "S.N.";
case DSSEnums.startDate:
return "startDate";
case DSSEnums.endDate:
return "endDate";
case DSSEnums.number:
return "number";
case DSSEnums.percentage:
return "percentage";
case DSSEnums.responseData:
return "responseData";
case DSSEnums.day:
return "day";
case DSSEnums.home:
return "home";
case DSSEnums.row:
return "row";
case DSSEnums.uuid:
return "uuid";
case DSSEnums.projectId:
return "projectId";
case DSSEnums.lastSyncedTime:
return "Last synced time";
case DSSEnums.amount:
return "amount";
}
}