instance property

The default instance of MacosHapticFeedbackPlatform to use.

Defaults to MethodChannelMacosHapticFeedback.

Implementation

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

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

Implementation

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