data property

String data
final

The data (text, URL, number, etc.) to encode into the code.

For QR codes, this can be any text content including URLs, contact information, or plain text. For barcode types like EAN-13 or UPC-A, this must be numeric data with the correct number of digits.

Implementation

final String data;