instance property

ReflutterwebPlatform get instance

The default instance of ReflutterwebPlatform to use.

Defaults to MethodChannelReflutterweb.

Implementation

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

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

Implementation

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