instance property

UnimpPlatform instance

The default instance of UnimpPlatform to use.

Defaults to MethodChannelUnimp.

Implementation

static UnimpPlatform get instance => _instance;
void instance=(UnimpPlatform instance)

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

Implementation

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