instance property

ReviewManagerPlatform get instance

The default instance of ReviewManagerPlatform to use.

Defaults to MethodChannelReviewManager.

Implementation

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

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

Implementation

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