registerWith static method

void registerWith()

Registers this class as the default instance of WakelockPlatformInterface.

Implementation

static void registerWith() {
  WakelockPlusPlatformInterface.instance = WakelockPlusLinuxPlugin();
}