instance property

AppFlowFlutterPlatform get instance

The default instance of AppFlowFlutterPlatform to use.

Defaults to MethodChannelAppFlowFlutter.

Implementation

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

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

Implementation

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