instance property

MinimizeAppPlatform get instance

The default instance of MinimizeAppPlatform to use.

Defaults to MethodChannelMinimizeApp.

Implementation

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

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

Implementation

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