instance property

TempFlutterAppPlatform get instance

The default instance of TempFlutterAppPlatform to use.

Defaults to MethodChannelTempFlutterApp.

Implementation

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

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

Implementation

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