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