instance property

ContouraisdkPlatform get instance

The default instance of ContouraisdkPlatform to use.

Defaults to MethodChannelContouraisdk.

Implementation

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

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

Implementation

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