instance property

LazyLocPlatform get instance

The default instance of LazyLocPlatform to use.

Defaults to MethodChannelLazyLoc.

Implementation

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

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

Implementation

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