instance property

FlutterLzmaPlatform get instance

The default instance of FlutterLzmaPlatform to use.

Defaults to MethodChannelFlutterLzma.

Implementation

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

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

Implementation

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