instance property

PerceptFlutterPlatform get instance

The default instance of PerceptFlutterPlatform to use. Defaults to MethodChannelPerceptFlutter.

Implementation

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

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

Implementation

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