loyaltyNumber property

String get loyaltyNumber

Retrieves the loyalty number from the additional data.

This getter returns the value associated with the tag '04', which is the loyalty_number field in the QRIS data. If no value is found, it returns an empty string ('').

Implementation

String get loyaltyNumber =>
    _getDecodedAdditionalData.getValueByTag('04') ?? '';