instance property

The default instance of LinkRichTextPlatform to use.

Defaults to MethodChannelLinkRichText.

Implementation

static LinkRichTextPlatform get instance => _instance;
void instance=(LinkRichTextPlatform instance)

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

Implementation

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