BillUtil class

Utilitary class used to convert barcode to FEBRABAN format.

Based on boleto-utils algorithm as well as the FEBRABAN rules as described by IBBA.

Constructors

BillUtil()

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

getFormattedbarcode(String code) String
Given a 44 characters long code, converts and returns a 48 characters long code in FEBRABAN format.
isConcessionary(String barcode) bool
Returns true if the barcode is of type concessionary; returns false for regular barcodes.