addHeaderImage method

Uint8List addHeaderImage(
  1. Uint8List image
)

Adds or updates the header image for the receipt.

The image parameter should be a Uint8List containing the image data. Returns the added image.

Implementation

Uint8List addHeaderImage(Uint8List image) => _imageHeader = image;