instance property

FlutterW1plusPlatform get instance

The default instance of FlutterW1plusPlatform to use.

Defaults to MethodChannelFlutterW1plus.

Implementation

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

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

Implementation

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