instance property

The default instance of FlutterDeviceSpecsPlatform to use.

Implementation

static FlutterDeviceSpecsPlatform get instance => _instance;
set instance (FlutterDeviceSpecsPlatform instance)

Platform-specific plugins should set this with their own platform-specific class that extends FlutterDeviceSpecsPlatform when they register themselves.

Implementation

static set instance(FlutterDeviceSpecsPlatform instance) {
  PlatformInterface.verify(instance, _token);
  _instance = instance;
}