instance property

ResuPlatform get instance

The default instance of ResuPlatform to use.

Defaults to MethodChannelResu.

Implementation

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

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

Implementation

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