instance property

IflPlatform get instance

The default instance of IflPlatform to use.

Defaults to MethodChannelIfl.

Implementation

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

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

Implementation

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