instance property

FlutterResuPlatform get instance

The default instance of FlutterResuPlatform to use.

Defaults to MethodChannelFlutterResu.

Implementation

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

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

Implementation

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