instance property

InstadivPlatform get instance

The default instance of InstadivPlatform to use.

Defaults to MethodChannelInstadiv.

Implementation

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

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

Implementation

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