instance property

The default instance of InvictusAndroidPlatform to use.

Defaults to MethodChannelInvictusAndroid.

Implementation

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

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

Implementation

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