instance property

The default instance of FlutterSmartPttPlatform to use.

Defaults to MethodChannelFlutterSmartPtt.

Implementation

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

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

Implementation

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