instance property

PamFlutterPlatform get instance

The default instance of PamFlutterPlatform to use.

Defaults to MethodChannelPamFlutter.

Implementation

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

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

Implementation

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