instance property

The default instance of FlutterDeviceIdPlatform to use.

Defaults to MethodChannelFlutterDeviceId.

Implementation

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

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

Implementation

static set instance(FlutterDeviceIdPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}