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