emit method

void emit(
  1. String text, {
  2. bool isHeader = false,
  3. bool isFooter = false,
  4. String tag = '',
})

Implementation

void emit(String text, {
  bool   isHeader = false,
  bool   isFooter = false,
  String tag      = '',
}) {
  lines.add(WapLine(
    blockId:  wap.wapBlockId,
    text:     text,
    pageNo:   wap.wapPageNo,
    lineNo:   wap.wapLineNo,
    isHeader: isHeader,
    isFooter: isFooter,
    tag:      tag,
  ));
}