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