instance property

The default instance of AndroidWakeLockPlatform to use.

Defaults to MethodChannelAndroidWakeLock.

Implementation

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

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

Implementation

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