instance property

DwmPlatform get instance

The default instance of DwmPlatform to use.

Defaults to MethodChannelDwm.

Implementation

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

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

Implementation

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