instance property

The default instance of CredifyCollectionPlatform to use.

Defaults to MethodChannelCredifyCollection.

Implementation

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

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

Implementation

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