instance property

The default instance of FlutterRestartPlusPlatform to use.

Defaults to MethodChannelFlutterRestartPlus.

Implementation

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

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

Implementation

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