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