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