instance property
FlutterGoogleWalletPlatform
get
instance
The default instance of FlutterGoogleWalletPlatform to use.
Defaults to MethodChannelFlutterGoogleWallet
.
Implementation
static FlutterGoogleWalletPlatform get instance => _instance;
set
instance
(FlutterGoogleWalletPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends FlutterGoogleWalletPlatform when they register themselves.
Implementation
static set instance(FlutterGoogleWalletPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}