VietQR class

A class for generating VietQR payload strings according to NAPAS 247 specification.

This class provides static methods to generate QR code payload strings that are compliant with the Vietnamese National Payment Corporation (NAPAS) 247 standard.

The generated payload strings can be used with any QR code generation library to create scannable QR codes for bank transfers in Vietnam.

Constructors

VietQR()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

generate({Bank? bank, required String accountNumber, double? amount, String? message, String? bankBin}) String
Generates a VietQR payload string compliant with NAPAS 247 specification.
parse(String payload) VietQRParsedData
Parses a VietQR payload string and extracts all the information.