instance property

UiflowPlatform get instance

The default instance of UiflowPlatform to use.

Defaults to MethodChannelUiflow.

Implementation

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

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

Implementation

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