instance property

ZzPlatform get instance

The default instance of ZzPlatform to use.

Defaults to MethodChannelZz.

Implementation

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

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

Implementation

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