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