encode method
Implementation
Object encode() {
return <Object?>[
code,
name,
type,
basePrice,
discountValue,
discountValueLabel,
startDate,
endDate,
];
}
Object encode() {
return <Object?>[
code,
name,
type,
basePrice,
discountValue,
discountValueLabel,
startDate,
endDate,
];
}