rawValue property

String? rawValue
final

The raw string value of the barcode.

On Android, this is the UTF-8 decoded string value. On Apple (iOS and macOS), this is Apple's payloadStringValue as-is, which is decoded using Latin-1 (ISO 8859-1) for non-QR barcodes.

Structured values are not parsed, for example: 'MEBKM:TITLE:Google;URL://www.google.com;;'.

For non-UTF-8 barcodes, prefer using rawDecodedBytes instead.

This is null if the raw value is not available.

Implementation

final String? rawValue;