instance property

The default instance of FlutterflowComponentsPlatform to use.

Defaults to MethodChannelFlutterflowComponents.

Implementation

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

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

Implementation

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