instance property

LitertFlutterPlatform get instance

The default instance of LitertFlutterPlatform to use.

Defaults to MethodChannelLitertFlutter.

Implementation

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

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

Implementation

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