instance property

The default instance of EmbeddedPhotoPickerPlatform to use.

Defaults to MethodChannelEmbeddedPhotoPicker.

Implementation

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

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

Implementation

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