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