instance property

The default instance of IosMicrophonePermissionPlatform to use.

Defaults to MethodChannelIosMicrophonePermission.

Implementation

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

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

Implementation

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