save method
save API.
Implementation
Uint8List save() {
return _trade(
skin: SheetSkin.quote,
direction: direction,
theme: theme,
font: font,
fontBold: fontBold,
start: seller,
end: buyer,
labels: labels,
number: number,
date: date,
extra: validUntil,
columns: <String>[
labels.description,
labels.quantity,
labels.unit,
labels.amount,
],
rows: <SheetRow>[
for (final TradeLine line in lines)
SheetRow(<String>[
line.description,
line.quantity,
line.unit,
line.amount,
]),
],
totals: totals,
notes: notes,
footer: footer,
signs: signs,
);
}