instance property

PntaFlutterPlatform get instance

The default instance of PntaFlutterPlatform to use.

Defaults to MethodChannelPntaFlutter.

Implementation

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

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

Implementation

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