instance property

MacAddressPlusPlatform get instance

The default instance of MacAddressPlusPlatform to use.

Defaults to MethodChannelMacAddressPlus.

Implementation

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

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

Implementation

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