instance property

TextoReversoPlatform get instance

The default instance of TextoReversoPlatform to use.

Defaults to MethodChannelTextoReverso.

Implementation

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

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

Implementation

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