instance property

RecollectUtilsPlatform get instance

The default instance of RecollectUtilsPlatform to use.

Defaults to MethodChannelRecollectUtils.

Implementation

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

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

Implementation

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