instance property

RjsnifferPlatform get instance

The default instance of RjsnifferPlatform to use.

Defaults to MethodChannelRjsniffer.

Implementation

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

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

Implementation

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