instance property

MoonetixPlatform get instance

The implementation in use. Defaults to MethodChannelMoonetix.

Implementation

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

Sets the implementation, for platform packages and tests.

Implementation

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