instance property

The default instance of FlutterUniqueIdPlatform to use.

Defaults to MethodChannelFlutterUniqueId.

Implementation

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

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

Implementation

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