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