instance property

The default instance of ExamplePlugginDevhpPlatform to use.

Defaults to MethodChannelExamplePlugginDevhp.

Implementation

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

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

Implementation

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