instance property

The default instance of MobileFeatureAccessPlatform to use.

Defaults to MethodChannelMobileFeatureAccess.

Implementation

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

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

Implementation

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