instance property

The default instance of IntentManagementPlatform to use.

Defaults to MethodChannelIntentManagement.

Implementation

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

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

Implementation

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