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