instance property

PakistanCnicPlatform get instance

The default instance of PakistanCnicPlatform to use.

Defaults to MethodChannelPakistanCnic.

Implementation

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

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

Implementation

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