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