Message class

Constructors

Message({required String message, required String messageType, required String font})

Properties

font String
Font type: 1 = normal 2 = bold 3 = 42 characters long 4 = double height 5 = double width 6 = italics 7 = length 42, double height 8 = length 42, bold 9 = length 42, bold, double height C = normal, used for printing the customer in the tax invoice P = normal, used to print the return receipt number in a credit note B = normal, used for printing the customer ID (Scontrino Parlante)
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
message String
Line of text to be printed (maximum 42 characters). The maximum lengths are set based on the "font" attribute. Additional characters are truncated.
getter/setter pair
messageType String
Type of line to print:
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
toJson() → dynamic
toString() String
A string representation of this object.
inherited

Operators

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