instance property

FlutterTelePlatform get instance

The default instance of FlutterTelePlatform to use.

Defaults to MethodChannelFlutterTele.

Implementation

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

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

Implementation

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