instance property

TrinsicFlutterPlatform get instance

The default instance of TrinsicFlutterPlatform to use.

Defaults to MethodChannelTrinsicFlutter.

Implementation

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

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

Implementation

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