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