instance property

EdfaPgSdkPlatform get instance

The default instance of EdfaPgSdkPlatform to use.

Defaults to MethodChannelEdfaPgSdk.

Implementation

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

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

Implementation

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