instance property

MetaWearablesPlatform get instance

The default instance of MetaWearablesPlatform to use.

Defaults to MethodChannelMetaWearables.

Implementation

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

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

Implementation

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