instance property

LodashFlutterPlatform get instance

The default instance of LodashFlutterPlatform to use.

Defaults to MethodChannelLodashFlutter.

Implementation

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

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

Implementation

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