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