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