instance property

The default instance of FlutterCachePluginPlatform to use.

Defaults to MethodChannelFlutterCachePlugin.

Implementation

static FlutterCachePluginPlatform get instance => _instance;
void instance=(FlutterCachePluginPlatform instance)

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

Implementation

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