instance property

FlutterLoganPlatform get instance

The default instance of FlutterLoganPlatform to use.

Defaults to MethodChannelFlutterLogan.

Implementation

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

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

Implementation

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