TemplateInfo constructor

TemplateInfo({
  1. int key = 0,
  2. int fileSize = 0,
  3. int checksum = 0,
  4. Uint8List? modifiedDate,
  5. String fileName = "",
  6. int modifiedDateRaw = 0,
})

Implementation

TemplateInfo({
    this.key = 0,
    this.fileSize = 0,
    this.checksum = 0,
    Uint8List? modifiedDate,
    this.fileName = "",
    this.modifiedDateRaw = 0})
    : this.modifiedDate = modifiedDate != null ? Printer.getDate(modifiedDate): new DateTime(0);