credentials property

RCachePlatform get credentials

The default instance of RCachePlatform to use.

Defaults to MethodChannelRCache.

Implementation

static RCachePlatform get credentials => _credentials;
set credentials (RCachePlatform instance)

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

Implementation

static set credentials(RCachePlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _credentials = instance;
}