instance property

The default instance of InoGlibAsyncExamplePlatform to use.

Defaults to MethodChannelInoGlibAsyncExample.

Implementation

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

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

Implementation

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