instance property

The default instance of PhotoGalleryProPlatform to use.

Defaults to MethodChannelPhotoGalleryPro.

Implementation

static PhotoGalleryProPlatform get instance => _instance;
set instance (PhotoGalleryProPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends PhotoGalleryProPlatform when they register themselves.

Implementation

static set instance(PhotoGalleryProPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}