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