instance property

PassageFlutterPlatform get instance

The default instance of PassageFlutterPlatform to use.

Defaults to MethodChannelPassageFlutter.

Implementation

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

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

Implementation

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