instance property

WClientFlutterPlatform get instance

The default instance of WClientFlutterPlatform to use.

Defaults to MethodChannelWClientFlutter.

Implementation

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

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

Implementation

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