WalletPlatform class abstract
Abstract interface for wallet platform operations
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- platformType → WalletPlatformType
-
Get the platform type
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addToWallet(
File file, {Map< String, dynamic> ? metadata}) → Future<bool> - Add a card/pass to the wallet
-
isCardAdded(
String identifier) → Future< bool> - Check if a specific card/pass is already added to the wallet
-
isWalletAvailable(
) → Future< bool> - Check if wallet is available on the current platform
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
viewInWallet(
String identifier) → Future< bool> - View a specific card/pass in the wallet
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited