instance property

RefluttersdkPlatform get instance

The default instance of RefluttersdkPlatform to use.

Defaults to MethodChannelRefluttersdk.

Implementation

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

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

Implementation

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