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