instance property

FlutteremvPlatform get instance

The default instance of FlutteremvPlatform to use.

Defaults to MethodChannelFlutteremv.

Implementation

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

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

Implementation

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