instance property

WifiFtmPlatform get instance

The default instance of WifiFtmPlatform to use.

Defaults to MethodChannelWifiFtm.

Implementation

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

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

Implementation

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