instance property
DeviceAutoRotateCheckerPlatform
instance
The default instance of DeviceAutoRotateCheckerPlatform to use.
Defaults to MethodChannelDeviceAutoRotateChecker.
Implementation
static DeviceAutoRotateCheckerPlatform get instance => _instance;
Platform-specific implementations should set this with their own platform-specific class that extends DeviceAutoRotateCheckerPlatform when they register themselves.
Implementation
static set instance(DeviceAutoRotateCheckerPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}