instance property

The default instance of FlutterNotieClearPlatform to use.

Defaults to MethodChannelFlutterNotieClear.

Implementation

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

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

Implementation

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