helpers library

Properties

expDateFormat → RegExp
Recognizes acceptable expiration date formats In plain english the steps are:
final
whiteSpaceRegex → RegExp
Recognizes all whitespace characters
final

Functions

appleOrientationFromRotation(int degrees) → ImageOrientation
Maps a camera sensor orientation in degrees to an Apple Vision orientation.
parseDate(String expDateStr) → List<String>
Parses the string form of the expiration date and returns the month and year as a List<String>