instance property

ExampleePlatform get instance

The default instance of ExampleePlatform to use.

Defaults to MethodChannelExamplee.

Implementation

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

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

Implementation

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