instance property
ByteArkPlayerControllerPlatform
get
instance
The default instance of ByteArkPlayerControllerPlatform to use.
Defaults to MethodChannelByteArkPlayerFlutter. Platform-specific implementations should override this with their own implementation.
Implementation
static ByteArkPlayerControllerPlatform get instance => _instance;
set
instance
(ByteArkPlayerControllerPlatform instance)
Sets the instance of ByteArkPlayerControllerPlatform.
Platform-specific implementations should set this with their own platform-specific class that extends ByteArkPlayerControllerPlatform when they register themselves.
Implementation
static set instance(ByteArkPlayerControllerPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}