instance property

ZarliFlutterPlatform get instance

The default instance of ZarliFlutterPlatform to use.

Defaults to MethodChannelZarliFlutter.

Implementation

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

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

Implementation

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