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