instance property

InvictusDarwinPlatform get instance

The default instance of InvictusDarwinPlatform to use.

Defaults to MethodChannelInvictusDarwin.

Implementation

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

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

Implementation

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