instance property

FlutterFaroPlatform get instance

The default instance of FlutterFaroPlatform to use.

Defaults to MethodChannelFlutterFaro.

Implementation

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

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

Implementation

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