instance property

The default instance of PhotoBrowserPlatform to use.

Defaults to MethodChannelPhotoBrowser.

Implementation

static PhotoBrowserPlatform get instance => _instance;
void 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;
}