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