Message class

Constructors

Message({String? message, MessageType? messageType, num? index, num? font, num? clearEFTPOSBuffer, String? operator})

Properties

clearEFTPOSBuffer num?
attribute is only relevant when messageType is 8:
getter/setter pair
font num?
attribute can be omitted when messageType is either 4, 7 or 8
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
index num?
indicates the line number:
getter/setter pair
message String?
represents the text to be printed or the customer ID. The maximum lengths are as follows:
getter/setter pair
messageType MessageType?
defines the row type to be printed: 1 = Additional header. This type must be placed before the beginFiscalReceipt sub-element 2 = Trailer (after NUMERO CONFEZIONI and before NUMERO CASSA) 3 = Additional trailer (promo lines after NUMERO CASSA and before barcode or QR code) 4 = Additional description (in the body of the commercial document or direct invoice) 7 = Customer Id. Sets CustomerId field in www/json_files/rec.json file(The font has no relevance so the attribute can be omitted) 8 = Print or erase all EFT-POS transaction lines
getter/setter pair
operator String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited