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