purposeOfTransaction property

String get purposeOfTransaction

Retrieves the purpose of the transaction from the additional data.

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

Implementation

String get purposeOfTransaction =>
    _getDecodedAdditionalData.getValueByTag('08') ?? '';