instance property

The default instance of PhPickerViewControllerPlatform to use.

Defaults to MethodChannelPhPickerViewController.

Implementation

static PhPickerViewControllerPlatform get instance => _instance;
void instance=(PhPickerViewControllerPlatform instance)

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

Implementation

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