common property

RCachePlatform get common

The default instance of RCachePlatform to use.

Defaults to MethodChannelRCache.

Implementation

static RCachePlatform get common => _common;
set common (RCachePlatform instance)

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

Implementation

static set common(RCachePlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _common = instance;
}