instance property

CutilsPlatform get instance

The default instance of CutilsPlatform to use.

Defaults to MethodChannelCutils.

Implementation

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

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

Implementation

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