instance property

The default instance of FlutterWindowmanagerV2Platform to use.

Defaults to MethodChannelFlutterWindowmanagerV2.

Implementation

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

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

Implementation

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