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