instance property

The default instance of FlutterAppstoreDetectionPlatform to use.

Defaults to MethodChannelFlutterAppstoreDetection.

Implementation

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

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

Implementation

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