instance property

The default instance of SiarashieldFlutterPlatform to use.

Defaults to MethodChannelSiarashieldFlutter.

Implementation

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

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

Implementation

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