instance property

The default instance of FlutterLockTaskPlatform to use.

Defaults to MethodChannelFlutterLockTask.

Implementation

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

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

Implementation

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