instance property

AccessibiltyPlatform get instance

The default instance of AccessibiltyPlatform to use.

Defaults to MethodChannelAccessibilty.

Implementation

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

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

Implementation

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