GoogleWalletGenerator class

Google Wallet card generator

Inheritance

Constructors

GoogleWalletGenerator.new({FileManager? fileManager})

Properties

fileExtension String
Get the file extension for this card type
no setteroverride
fileManager FileManager
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
supportedExtension String
Alias for fileExtension for backward compatibility
no setter

Methods

generateCard(WalletCard card) Future<File>
Generate a wallet card file
override
generateFile(WalletCard card, File outputFile) Future<File>
Generate Google Wallet file to specific output file
generateWalletJson(WalletCard card) Map<String, dynamic>
Generate Google Wallet JSON for testing purposes
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
validateCard(WalletCard card) → void
Validate card data
override

Operators

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