instance property

GameolivePlatform get instance

The default instance of GameolivePlatform to use.

Defaults to MethodChannelGameolive.

Implementation

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

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

Implementation

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