getContent method
Build a page from html, CollectionStyle.all is defined CSS inside html
_data will collect all generated tag from model ReceiptText,
ReceiptTextLeftRight and ReceiptLine
Implementation
String getContent([int start = 0, int? end]) {
final String data =
_data.isNotEmpty ? _data.sublist(start, end).join() : '';
return data;
}