instance property

TextifyPlatform get instance

The default instance of TextifyPlatform to use.

Defaults to MethodChannelTextify.

Implementation

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

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

Implementation

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