instance property

InvictusApiPlatform get instance

The default instance of InvictusApiPlatform to use.

Defaults to MethodChannelInvictusApi.

Implementation

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

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

Implementation

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