instance property

The active implementation, MethodChannelOcmFlutterPlugin by default.

Implementation

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

Replaces the active implementation, for example in tests.

Implementation

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