instance property

FirePopupPlatform get instance

The default instance of FirePopupPlatform to use.

Defaults to MethodChannelFirePopup.

Implementation

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

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

Implementation

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