instance property

The default instance of DisplayZoomCheckerPlatform to use.

Defaults to MethodChannelDisplayZoomChecker.

Implementation

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

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

Implementation

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