instance property

FlutterLitertPlatform get instance

The default instance of FlutterLitertPlatform to use.

Defaults to MethodChannelFlutterLitert.

Implementation

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

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

Implementation

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