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