instance property

The default instance of WakelockPlusPlatformInterface to use.

Defaults to MethodChannelWakelockPlus.

Implementation

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

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

Implementation

static set instance(WakelockPlusPlatformInterface instance) {
  PlatformInterface.verify(instance, _token);
  _instance = instance;
}