instance property

FlutterW1Platform get instance

The default instance of FlutterW1Platform to use.

Defaults to MethodChannelFlutterW1.

Implementation

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

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

Implementation

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